summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake-boot-image.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/make-boot-image.sh b/make-boot-image.sh
index 88f3e68..855176d 100755
--- a/make-boot-image.sh
+++ b/make-boot-image.sh
@@ -648,7 +648,9 @@ network_up
network_conf
network_show
machine_info
-/etc/rc.d/initrd-autorun && eficast_end
+set -e # Go in rescue shell if any futher step goes wrong
+/etc/rc.d/initrd-autorun
+eficast_end
EOF
add_initrd_script etc/rc.d/initrd-autorun <<"EOF"
echo -ne "\e]2;$0\007" # Term title (tmux)