feat: add pos system nfs-server and nfs-client (systemd persistent mounts)
This commit is contained in:
@@ -10,19 +10,19 @@
|
||||
|
||||
<!-- GEN:START docmap -->
|
||||
| ## 1. Project Overview | 28–43 |
|
||||
| ## 2. Directory Structure | 44–165 |
|
||||
| ## 3. Installation Flow | 166–217 |
|
||||
| ## 4. The `pos` CLI System | 218–275 |
|
||||
| ## 5. Shared Library — `lib/common.sh` | 276–306 |
|
||||
| ## 6. Docker Compose / ScaleTail | 307–349 |
|
||||
| ## 7. Optional Apps (`apps/`) | 350–379 |
|
||||
| ## 8. Entertainment Module | 380–393 |
|
||||
| ## 9. Systemd Services | 394–404 |
|
||||
| ## 10. Configuration Files | 405–428 |
|
||||
| ## 11. Coding Conventions | 429–461 |
|
||||
| ## 12. Development Workflow | 462–513 |
|
||||
| ## 13. Key File Quick Reference | 514–556 |
|
||||
| ## 14. Common Tasks for Agents | 557–581 |
|
||||
| ## 2. Directory Structure | 44–167 |
|
||||
| ## 3. Installation Flow | 168–219 |
|
||||
| ## 4. The `pos` CLI System | 220–279 |
|
||||
| ## 5. Shared Library — `lib/common.sh` | 280–310 |
|
||||
| ## 6. Docker Compose / ScaleTail | 311–353 |
|
||||
| ## 7. Optional Apps (`apps/`) | 354–383 |
|
||||
| ## 8. Entertainment Module | 384–397 |
|
||||
| ## 9. Systemd Services | 398–408 |
|
||||
| ## 10. Configuration Files | 409–432 |
|
||||
| ## 11. Coding Conventions | 433–465 |
|
||||
| ## 12. Development Workflow | 466–517 |
|
||||
| ## 13. Key File Quick Reference | 518–562 |
|
||||
| ## 14. Common Tasks for Agents | 563–587 |
|
||||
<!-- GEN:END docmap -->
|
||||
|
||||
## 1. Project Overview
|
||||
@@ -77,6 +77,8 @@ Linux_post_install/
|
||||
│ ├── pos-system-backup # Encrypted (AES-256) folder snapshots (tar + gpg)
|
||||
│ ├── pos-system-firewall # Interactive UFW management
|
||||
│ ├── pos-system-health # Host health dashboard (disk, RAM, services, backup age, fail2ban, docker); exit 1 if any FAIL
|
||||
│ ├── pos-system-nfs-client # Mount NFS shares (ephemeral or persistent systemd mount units)
|
||||
│ ├── pos-system-nfs-server # Manage the NFS kernel server (status, share/unshare exports, enable/disable)
|
||||
│ ├── pos-usb-server # USB Redirector server control (--ls, --share; prompts when args omitted)
|
||||
<!-- GEN:END tree -->
|
||||
│ ├── flag-reader # Inspect feature flags (list/status/--raw)
|
||||
@@ -254,6 +256,8 @@ All non-interactive `pos` commands log output to `~/.local/share/linux_post_inst
|
||||
| system | backup | `pos-system-backup` | Encrypted (AES-256) folder snapshots (tar + gpg) |
|
||||
| system | firewall | `pos-system-firewall` | Interactive UFW management |
|
||||
| system | health | `pos-system-health` | Host health dashboard (disk, RAM, services, backup age, fail2ban, docker); exit 1 if any FAIL |
|
||||
| system | nfs-client | `pos-system-nfs-client` | Mount NFS shares (ephemeral or persistent systemd mount units) |
|
||||
| system | nfs-server | `pos-system-nfs-server` | Manage the NFS kernel server (status, share/unshare exports, enable/disable) |
|
||||
| usb | server | `pos-usb-server` | USB Redirector server control (--ls, --share; prompts when args omitted) |
|
||||
<!-- GEN:END dispatch -->
|
||||
|
||||
@@ -526,7 +530,7 @@ Use conventional prefixes: `feat:`, `fix:`, `docs:`, `refactor:`, `chore:`
|
||||
| `bin/flag-clear` | 21 | Unset a flag |
|
||||
| `features/autostart.sh` | 14 | Boot-time feature (moved from `bin/`, flag-gated service) |
|
||||
<!-- GEN:START filetable -->
|
||||
| `bin/pos` | 213 | CLI dispatcher with smart arg matching + logging + category help |
|
||||
| `bin/pos` | 216 | CLI dispatcher with smart arg matching + logging + category help |
|
||||
| `bin/pos-communication-telegram` | 274 | Send Telegram messages/files/links/stickers via Bot API (send, test, config set) |
|
||||
| `bin/pos-docker-compose` | 364 | Docker Compose service manager (ls/up/down/restart/logs/update/config) |
|
||||
| `bin/pos-docker-health` | 110 | One-glance container health dashboard (exits 1 if unhealthy) |
|
||||
@@ -547,6 +551,8 @@ Use conventional prefixes: `feat:`, `fix:`, `docs:`, `refactor:`, `chore:`
|
||||
| `bin/pos-system-backup` | 125 | Encrypted (AES-256) folder snapshots (tar + gpg) |
|
||||
| `bin/pos-system-firewall` | 291 | Interactive UFW management |
|
||||
| `bin/pos-system-health` | 243 | Host health dashboard (disk, RAM, services, backup age, fail2ban, docker); exit 1 if any FAIL |
|
||||
| `bin/pos-system-nfs-client` | 138 | Mount NFS shares (ephemeral or persistent systemd mount units) |
|
||||
| `bin/pos-system-nfs-server` | 134 | Manage the NFS kernel server (status, share/unshare exports, enable/disable) |
|
||||
| `bin/pos-usb-server` | 218 | USB Redirector server control (--ls, --share; prompts when args omitted) |
|
||||
| `completions/pos.bash` | 189 | Dynamic bash completion |
|
||||
<!-- GEN:END filetable -->
|
||||
|
||||
Reference in New Issue
Block a user