]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/installer/dracut-module/run-installer.sh
installer: Only drop to a debug shell after a segmentation fault
[ipfire-2.x.git] / src / installer / dracut-module / run-installer.sh
index d0611ce37c208dc0fe0deefe8ba347cc42fe5e93..b62cfa996a71caa8f6c8370418c810059a8ee611 100644 (file)
@@ -3,6 +3,12 @@
 # IPFire Installer RC
 #
 
+# Enable Unicode
+echo -en '\033%G' && kbd_mode -u
+
+# Load default console font
+setfont LatArCyrHeb-16
+
 # Silence the kernel
 echo >/proc/sys/kernel/printk "1 4 1 7"
 echo -n -e "\033[9;0]"
@@ -16,10 +22,7 @@ echo "Loading Installer..."
 ret=$?
 
 case "${ret}" in
-       0)
-               # The installer has finished without a problem.
-               ;;
-       *)
+       139)
                echo "The installer has crashed. You will be dropped to a debugging shell"
                /bin/bash --login
                ;;