Skip to content

Commit

Permalink
Move NFS to the system / storage
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Dec 9, 2024
1 parent e15894d commit 907e8e8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
30 changes: 0 additions & 30 deletions tools/json/config.network.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,36 +96,6 @@
"status": "Disabled",
"author": "@armbian",
"condition": ""
},
{
"id": "NE105",
"description": "Install NFS daemon",
"command": [
"module_nfsd install"
],
"status": "Stable",
"author": "@igorpecovnik",
"condition": "! module_nfsd status"
},
{
"id": "NE106",
"description": "Configure NFS daemon",
"command": [
"module_nfsd manage"
],
"status": "Stable",
"author": "@igorpecovnik",
"condition": "module_nfsd status"
},
{
"id": "NE107",
"description": "Remove NFS daemon",
"command": [
"module_nfsd uninstall"
],
"status": "Stable",
"author": "@igorpecovnik",
"condition": "module_nfsd status"
}
]
}
Expand Down
32 changes: 31 additions & 1 deletion tools/json/config.system.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
},
{
"id": "Storage",
"description": "Install to internal media, ZFS, read-only rootfs",
"description": "Install to internal media, ZFS, NFS, read-only rootfs",
"sub": [
{
"id": "SY001",
Expand Down Expand Up @@ -127,6 +127,36 @@
"status": "Stable",
"author": "@igorpecovnik",
"condition": "command -v overlayroot-chroot > /dev/null 2>&1 && findmnt -k /media/root-ro | tail -1 | grep -w /media/root-ro > /dev/null 2>&1"
},
{
"id": "NFS01",
"description": "Install network filesystem (NFS) daemon",
"command": [
"module_nfsd install"
],
"status": "Stable",
"author": "@igorpecovnik",
"condition": "! module_nfsd status"
},
{
"id": "NFS02",
"description": "Configure network filesystem (NFS) daemon",
"command": [
"module_nfsd manage"
],
"status": "Stable",
"author": "@igorpecovnik",
"condition": "module_nfsd status"
},
{
"id": "NFS03",
"description": "Remove network filesystem (NFS) daemon",
"command": [
"module_nfsd uninstall"
],
"status": "Stable",
"author": "@igorpecovnik",
"condition": "module_nfsd status"
}
]
},
Expand Down

0 comments on commit 907e8e8

Please sign in to comment.