From 3b90e452ebca03813fb8766b98699b754a7dd46c Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 16 May 2018 07:05:34 +0100 Subject: [PATCH] Drop to rescue shell if switch root fails --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init b/init index 75b84c0..ee4816b 100755 --- a/init +++ b/init @@ -29,4 +29,4 @@ rescue_shell() { /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 -- 2.46.2