exec /bin/sh
}
-rescue_shell
-
# Mount filesystems
/bin/busybox mount -t devtmpfs none /dev || rescue_shell
/bin/busybox mount -t proc none /proc || rescue_shell
/bin/busybox mount -t sysfs none /sys || rescue_shell
-/bin/busybox echo 0 > /proc/sys/kernel/printk
+#/bin/busybox echo 0 > /proc/sys/kernel/printk || rescue_shell
# Unlock luks device
/sbin/cryptsetup -T 5 luksOpen /dev/sdb3 lukssdb3 || 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