summaryrefslogtreecommitdiff
path: root/package/busybox/files
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2014-05-04 10:48:01 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-04 12:49:24 +0200
commit25b0faf95020bfcf6080a1a4a41a77385eb7609f (patch)
treef8994ae325b9ff7cf4e9ac29ded9cb1f5a4d8072 /package/busybox/files
parente7d5fb78fa670f626349d1dc7eeb7fcd9ef57324 (diff)
dynamically start busybox’ services
Diffstat (limited to 'package/busybox/files')
-rw-r--r--package/busybox/files/busybox.postinst13
1 files changed, 7 insertions, 6 deletions
diff --git a/package/busybox/files/busybox.postinst b/package/busybox/files/busybox.postinst
index 40d196c9a..bed51fb45 100644
--- a/package/busybox/files/busybox.postinst
+++ b/package/busybox/files/busybox.postinst
@@ -1,12 +1,13 @@
#!/bin/sh
if [ -z $IPKG_INSTROOT ];then chmod u+s /bin/busybox;fi
. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf network YES
-add_rcconf crond NO
-add_rcconf watchdog NO
+. $IPKG_INSTROOT/etc/.bb_defaults
+add_rcconf network ${BBDEF_NETWORK}
+add_rcconf crond ${BBDEF_CROND}
+add_rcconf watchdog ${BBDEF_WATCHDOG}
add_rcconf watchdog_flags '-t 10 -T 20'
-add_rcconf syslogd NO
+add_rcconf syslogd ${BBDEF_SYSLOGD}
add_rcconf syslogd_flags '-C32'
-add_rcconf inetd NO
-add_rcconf ntpd NO
+add_rcconf inetd ${BBDEF_INETD}
+add_rcconf ntpd ${BBDEF_NTPD}
add_rcconf ntpd_flags '-p time.fu-berlin.de'