X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=init;h=ee4816b621db1c71703b08d4104a5b4d46eecf76;hb=feb573c635143d4768bcd134ef1f41fb667e05c8;hp=d9445bdfc7b5c5550e3c0905927e3fb92044b8d0;hpb=26a30ccfc34a875924f1c930a06c0f23b56df364;p=max%2Finitramfs.git diff --git a/init b/init index d9445bd..ee4816b 100755 --- a/init +++ b/init @@ -26,7 +26,7 @@ rescue_shell() { /bin/busybox mount -o ro /dev/main/root /mnt/root || rescue_shell # Unmount filesystems -/bin/busybox unmount /dev +/bin/busybox umount /dev || rescue_shell # Boot system -exec switch_root /mnt/root /sbin/init +exec /bin/busybox switch_root /mnt/root /sbin/init || rescue_shell