capture
[rrq/rescue-boot.git] / init.template
1 #!/bin/sh
2 mount -t proc proc /proc
3 mount -t sysfs sysfs /sys
4 mount -t devtmpfs devtmpfs /dev
5 mkdir /dev/pts
6 mount -t devpts devpts /dev/pts
7
8 MODULES=" \
9 scsi_mod sd_mod ata_piix \
10 crc32c ext4 \
11 nls_ascii nls_cp437 vfat fat \
12 "
13 for m in $MODULES ; do modprobe $m ; done
14
15 cat message.txt
16
17 exec setsid cttyhack sh