summaryrefslogtreecommitdiff
path: root/package/busybox/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/files')
-rw-r--r--package/busybox/files/busybox.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/busybox/files/busybox.postinst b/package/busybox/files/busybox.postinst
index dff48985d..f9f8e212b 100644
--- a/package/busybox/files/busybox.postinst
+++ b/package/busybox/files/busybox.postinst
@@ -1,4 +1,5 @@
#!/bin/sh
+if [ -z $IPKG_INSTROOT ];then chmod u+s /bin/busybox;fi
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf network network YES
add_rcconf crond crond NO
@@ -6,4 +7,3 @@ add_rcconf watchdog watchdog NO
add_rcconf watchdog_flags watchdog_flags '-t 10 -T 20'
add_rcconf 'use "-C32" normally, "NO" to disable' syslogd_flags '-C32'
add_rcconf inetd inetd NO
-chmod u+s /bin/busybox