7 if grep -q "installer.unattended" /proc
/cmdline
; then
11 # Mount efivarfs on EFI systems
12 if [ -d "/sys/firmware/efi" ]; then
13 mount
-t efivarfs efivarfs
/sys
/firmware
/efi
/efivars
17 echo -en '\033%G' && kbd_mode
-u
19 # Load default console font
20 setfont latarcyrheb-sun16
23 echo >/proc
/sys
/kernel
/printk
"1 4 1 7"
24 echo -n -e "\033[9;0]"
26 echo "Starting shells on tty2 and tty3 ..."
27 /usr
/local
/bin
/iowrap
/dev
/tty2
/bin
/bash
&
28 /usr
/local
/bin
/iowrap
/dev
/tty3
/bin
/bash
&
30 echo "Loading Installer..."
31 /bin
/bash
--login -c "/usr/bin/installer /dev/tty2"
36 echo "The installer has crashed. You will be dropped to a debugging shell"
41 # Poweroff after an unattended installation
42 if [ "${unattended}" = "1" ]; then