diff options
Diffstat (limited to 'package/nfs-utils/ipkg/nfs-utils.postinst')
-rw-r--r-- | package/nfs-utils/ipkg/nfs-utils.postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/nfs-utils/ipkg/nfs-utils.postinst b/package/nfs-utils/ipkg/nfs-utils.postinst new file mode 100644 index 000000000..bfb7481d0 --- /dev/null +++ b/package/nfs-utils/ipkg/nfs-utils.postinst @@ -0,0 +1,9 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +add_rcconf "kernel nfs server" nfs_server NO +add_rcconf "kernel nfs server version" nfs_server_version 3 +add_service nfs 2049/tdp +add_service nfs 2049/udp +gid=$(get_next_gid) +add_group nfs $gid +add_user nfs $(get_next_uid) $gid /var/lib/nfs |