summaryrefslogtreecommitdiff
path: root/package/nfs-utils/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-04 10:36:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-04 10:36:41 +0200
commit2d7666cde27141b6fd3d4f9d156253324fd56633 (patch)
treebbbb6d7b237b7b8dd3416c13f045cb766fadc5bb /package/nfs-utils/files
parentb02bbc72e9d77922bcbae48fd682aaac66122c44 (diff)
simplify add_rcconf
Diffstat (limited to 'package/nfs-utils/files')
-rw-r--r--package/nfs-utils/files/nfs-utils.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/nfs-utils/files/nfs-utils.postinst b/package/nfs-utils/files/nfs-utils.postinst
index 6f89e0ae4..f4b5b5d3a 100644
--- a/package/nfs-utils/files/nfs-utils.postinst
+++ b/package/nfs-utils/files/nfs-utils.postinst
@@ -1,8 +1,8 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf "kernel nfs server" nfs_server NO
-add_rcconf "kernel nfs client (v4)" nfs_client NO
-add_rcconf "kernel nfs server version" nfs_server_version 3
+add_rcconf nfs_server NO
+add_rcconf nfs_client NO
+add_rcconf nfs_server_version 3
add_service nfs 2049/tcp
add_service nfs 2049/udp
gid=$(get_next_gid)