summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/busybox/config/coreutils/Config.in2
-rw-r--r--package/busybox/files/busybox.postinst2
-rw-r--r--package/sudo/files/sudo.postinst3
-rw-r--r--package/xorg-server/files/xorg-server.postinst2
4 files changed, 4 insertions, 5 deletions
diff --git a/package/busybox/config/coreutils/Config.in b/package/busybox/config/coreutils/Config.in
index e22c7d566..069eab70d 100644
--- a/package/busybox/config/coreutils/Config.in
+++ b/package/busybox/config/coreutils/Config.in
@@ -590,7 +590,7 @@ config BUSYBOX_FEATURE_FANCY_SLEEP
config BUSYBOX_FEATURE_FLOAT_SLEEP
bool "Enable fractional arguments"
- default n
+ default y
depends on BUSYBOX_FEATURE_FANCY_SLEEP
help
Allow for fractional numeric parameters.
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
diff --git a/package/sudo/files/sudo.postinst b/package/sudo/files/sudo.postinst
index 300ea80ef..a392a58c4 100644
--- a/package/sudo/files/sudo.postinst
+++ b/package/sudo/files/sudo.postinst
@@ -1,3 +1,2 @@
#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-chmod u+s /usr/bin/sudo
+if [ -z $IPKG_INSTROOT ];then chmod u+s /usr/bin/sudo;fi
diff --git a/package/xorg-server/files/xorg-server.postinst b/package/xorg-server/files/xorg-server.postinst
index 0d8bd0d14..4d8403d7d 100644
--- a/package/xorg-server/files/xorg-server.postinst
+++ b/package/xorg-server/files/xorg-server.postinst
@@ -1,5 +1,5 @@
#!/bin/sh
+if [ -z $IPKG_INSTROOT ];then chmod u+s /usr/bin/X;fi
. $IPKG_INSTROOT/etc/functions.sh
gid=$(get_next_gid)
add_group video $gid
-chmod u+s /usr/bin/X