summaryrefslogtreecommitdiff
path: root/package/nfs-utils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-28 23:05:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-28 23:05:51 +0200
commit17cd7ba917d71fdb81fc6f1a93f345f72b264aec (patch)
treea4874e5e467ad195c8b5004ce2758e0e2db67246 /package/nfs-utils
parentf1dfd88a9669b5649e9c47b163ec52fc75e9eb78 (diff)
fix nfs-utils startup
Diffstat (limited to 'package/nfs-utils')
-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.postinst2
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