summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbusybox.pkg/postinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
index fbdd6b4..844b0a5 100755
--- a/busybox.pkg/postinst
+++ b/busybox.pkg/postinst
@@ -14,7 +14,9 @@ if [ "x${1}" = 'xconfigure' ]; then
fi
if [ -e /usr/share/busybox/init-scripts ]; then
while read script; do
- "/etc/init.d/${script}" enable
+ if [ "x${2:+set}" != 'xset' ]; then
+ "/etc/init.d/${script}" enable
+ fi
"/etc/init.d/${script}" start
done </usr/share/busybox/init-scripts
fi