diff options
Diffstat (limited to 'busybox/switchbox-1.00/linuxrc')
-rw-r--r-- | busybox/switchbox-1.00/linuxrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/busybox/switchbox-1.00/linuxrc b/busybox/switchbox-1.00/linuxrc index 1368b418a7..70ad6855b6 100644 --- a/busybox/switchbox-1.00/linuxrc +++ b/busybox/switchbox-1.00/linuxrc @@ -37,7 +37,7 @@ fi if [ -z "$mounted" ] && /bin/mount -rt jffs2 /dev/mtdblock4 /mnt/tmpmnt ; then - if [ -x /mnt/tmpmnt/bin/init ] ; then + if [ -x /mnt/tmpmnt/sbin/init -o -x /mnt/tmpmnt/bin/init ] ; then /bin/echo "Root filesystem will be mounted from /dev/mtdblock4 ..." mounted=/mnt/tmpmnt /bin/echo "0x1f04" > /proc/sys/kernel/real-root-dev |