summaryrefslogtreecommitdiff
path: root/package/busybox/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/files')
-rw-r--r--package/busybox/files/busybox.postinst6
-rw-r--r--package/busybox/files/crond.init3
-rw-r--r--package/busybox/files/inetd.init3
-rw-r--r--package/busybox/files/network.init3
-rw-r--r--package/busybox/files/syslog.init3
5 files changed, 14 insertions, 4 deletions
diff --git a/package/busybox/files/busybox.postinst b/package/busybox/files/busybox.postinst
new file mode 100644
index 000000000..97e83b766
--- /dev/null
+++ b/package/busybox/files/busybox.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf network network YES
+add_rcconf crond crond NO
+add_rcconf 'use "-C16" normally, "NO" to disable' syslogd_flags '-C16'
+add_rcconf inetd
diff --git a/package/busybox/files/crond.init b/package/busybox/files/crond.init
index c0b9da9e4..208479c6d 100644
--- a/package/busybox/files/crond.init
+++ b/package/busybox/files/crond.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 60
+#PKG busybox
+#INIT 60
. /etc/rc.conf
case $1 in
diff --git a/package/busybox/files/inetd.init b/package/busybox/files/inetd.init
index ad0527e6a..ff041aed4 100644
--- a/package/busybox/files/inetd.init
+++ b/package/busybox/files/inetd.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 41
+#PKG busybox
+#INIT 41
. /etc/rc.conf
case $1 in
autostart)
diff --git a/package/busybox/files/network.init b/package/busybox/files/network.init
index 0f3d4edad..ee70efcbf 100644
--- a/package/busybox/files/network.init
+++ b/package/busybox/files/network.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 40
+#PKG busybox
+#INIT 40
. /etc/rc.conf
case $1 in
autostart)
diff --git a/package/busybox/files/syslog.init b/package/busybox/files/syslog.init
index e06283480..9552dfe0a 100644
--- a/package/busybox/files/syslog.init
+++ b/package/busybox/files/syslog.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 05
+#PKG busybox
+#INIT 05
. /etc/rc.conf
case $1 in