summaryrefslogtreecommitdiff
path: root/package/quagga
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/quagga
parentb02bbc72e9d77922bcbae48fd682aaac66122c44 (diff)
simplify add_rcconf
Diffstat (limited to 'package/quagga')
-rw-r--r--package/quagga/files/quagga.postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/quagga/files/quagga.postinst b/package/quagga/files/quagga.postinst
index 868d00de9..22e74fb8c 100644
--- a/package/quagga/files/quagga.postinst
+++ b/package/quagga/files/quagga.postinst
@@ -1,10 +1,9 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
-
gid=$(get_next_gid)
add_group quagga $gid
add_user quagga $(get_next_uid) $gid /tmp
-add_rcconf quagga quagga NO
+add_rcconf quagga NO
add_service zebrasrv 2600/tcp
add_service zebra 2601/tcp
add_service ripd 2602/tcp