Files
bpfire/config/install/rc_installer
2010-08-11 17:23:41 +02:00

21 lines
445 B
Plaintext

#
# IPFire Installer RC
#
echo >/proc/sys/kernel/printk "1 4 1 7"
echo -n -e "\033[9;0]"
ln -snf /proc/self/fd/0 /dev/stdin
ln -snf /proc/self/fd/1 /dev/stdout
ln -snf /proc/self/fd/2 /dev/stderr
ln -s /proc/kcore /dev/core
echo "Starting shells on tty2 and tty3 ..."
/usr/local/bin/iowrap /dev/tty2 /bin/bash &
/usr/local/bin/iowrap /dev/tty3 /bin/bash &
echo "Loading Installer..."
/bin/bash --login -c "/bin/install /dev/tty2"
/etc/halt