mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
There is now a new installer module for dracut which will take the installer and put it into the ramdisk.
21 lines
383 B
Bash
21 lines
383 B
Bash
#!/bin/sh
|
|
#
|
|
# IPFire Installer RC
|
|
#
|
|
|
|
# Silence the kernel
|
|
echo >/proc/sys/kernel/printk "1 4 1 7"
|
|
echo -n -e "\033[9;0]"
|
|
|
|
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 "/usr/bin/installer /dev/tty2"
|
|
|
|
sleep 60
|
|
|
|
# Reboot the system
|
|
/shutdown reboot
|