# 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]"
echo "Loading Installer..."
/bin/bash --login -c "/usr/bin/installer /dev/tty2"
+ret=$?
-sleep 60
+case "${ret}" in
+ 139)
+ echo "The installer has crashed. You will be dropped to a debugging shell"
+ /bin/bash --login
+ ;;
+esac
# Reboot the system
/shutdown reboot