diff options
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/src/etc/init.d/rcS | 2 | ||||
-rwxr-xr-x | package/base-files/src/init | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS index fd56feebf..46a9a49c1 100755 --- a/package/base-files/src/etc/init.d/rcS +++ b/package/base-files/src/etc/init.d/rcS @@ -4,7 +4,7 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin grep '^#INIT ' /etc/init.d/* | \ sort -nk2 | \ while read line; do - /bin/sh ${line%%:*} autostart 2>&1 + exec sh ${line%%:*} autostart 2>&1 done test -e /etc/init.d/boot.local && (/bin/sh /etc/init.d/boot.local) 2>&1 } | logger -s -p 6 -t '' & diff --git a/package/base-files/src/init b/package/base-files/src/init index 7da1e150f..0031b63c3 100755 --- a/package/base-files/src/init +++ b/package/base-files/src/init @@ -9,7 +9,7 @@ mount -o nosuid,nodev,noexec -t sysfs sysfs /sys mount none /tmp -t tmpfs -o size=${size}k mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777 } -mount -o nosuid,size=128k,mode=0755 -t tmpfs mdev /dev +mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev mkdir /dev/pts /dev/shm mount -o nosuid,noexec -t devpts devpts /dev/pts exec 0<>/dev/console >&0 2>&0 |