diff options
-rw-r--r-- | package/nfs-utils/files/nfs-utils-server.init (renamed from package/nfs-utils/files/nfsd.init) | 4 | ||||
-rw-r--r-- | package/nfs-utils/files/nfs-utils-server.postinst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/nfs-utils/files/nfsd.init b/package/nfs-utils/files/nfs-utils-server.init index 2699b9dc3..a864c5430 100644 --- a/package/nfs-utils/files/nfsd.init +++ b/package/nfs-utils/files/nfs-utils-server.init @@ -7,8 +7,8 @@ case $1 in autostop) ;; autostart) test x"${rpcbind:-NO}" = x"NO" && exit 0 - test x"${nfsd:-NO}" = x"NO" && exit 0 - test x"$nfsd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start + test x"${nfs_utils_server:-NO}" = x"NO" && exit 0 + test x"$nfs_utils_server" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start exec sh $0 start ;; start) diff --git a/package/nfs-utils/files/nfs-utils-server.postinst b/package/nfs-utils/files/nfs-utils-server.postinst index 5c762993e..93532983a 100644 --- a/package/nfs-utils/files/nfs-utils-server.postinst +++ b/package/nfs-utils/files/nfs-utils-server.postinst @@ -1,4 +1,4 @@ #!/bin/sh . $IPKG_INSTROOT/etc/functions.sh -add_rcconf nfsd NO +add_rcconf nfs_utils_server NO add_rcconf nfs_server_version 3 |