summaryrefslogtreecommitdiff
path: root/package/dnsmasq/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/dnsmasq/files
parentb02bbc72e9d77922bcbae48fd682aaac66122c44 (diff)
simplify add_rcconf
Diffstat (limited to 'package/dnsmasq/files')
-rw-r--r--package/dnsmasq/files/dnsmasq.postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/dnsmasq/files/dnsmasq.postinst b/package/dnsmasq/files/dnsmasq.postinst
index 86cf960e6..36833da08 100644
--- a/package/dnsmasq/files/dnsmasq.postinst
+++ b/package/dnsmasq/files/dnsmasq.postinst
@@ -1,7 +1,6 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
-
gid=$(get_next_gid)
add_user dnsmasq $(get_next_uid) $gid /tmp
add_group dnsmasq $gid
-add_rcconf dnsmasq dnsmasq NO
+add_rcconf dnsmasq NO