]> git.ipfire.org Git - ipfire-2.x.git/blame - src/installer/dracut-module/run-installer.sh
Move installer to its own directory.
[ipfire-2.x.git] / src / installer / dracut-module / run-installer.sh
CommitLineData
5fca8d27 1#!/bin/sh
6cf9e770
AF
2#
3# IPFire Installer RC
4#
5
5fca8d27 6# Silence the kernel
6cf9e770
AF
7echo >/proc/sys/kernel/printk "1 4 1 7"
8echo -n -e "\033[9;0]"
9
6cf9e770
AF
10echo "Starting shells on tty2 and tty3 ..."
11/usr/local/bin/iowrap /dev/tty2 /bin/bash &
12/usr/local/bin/iowrap /dev/tty3 /bin/bash &
13
14echo "Loading Installer..."
5fca8d27
MT
15/bin/bash --login -c "/usr/bin/installer /dev/tty2"
16
17sleep 60
6cf9e770 18
5fca8d27
MT
19# Reboot the system
20/shutdown reboot