2 PATH=/usr/bin:/usr/sbin:/bin:/sbin
3 mount -t proc proc /proc
5 if grep -qw rescue /proc/cmdline ; then
7 ____ _____ ____ ____ _ _ _____ ____ ___ ___ _____
8 | _ \| ____/ ___| / ___| | | | ____| | __ ) / _ \ / _ \_ _|
9 | |_) | _| \___ \| | | | | | _| | _ \| | | | | | || |
10 | _ <| |___ ___) | |___| |_| | |___ | |_) | |_| | |_| || |
11 |_| \_\_____|____/ \____|\___/|_____| |____/ \___/ \___/ |_|
17 mv /init.FS /init ; exec /init
20 mount -t sysfs sysfs /sys
21 mount -t devtmpfs devtmpfs /dev
23 mount -t devpts devpts /dev/pts
24 udevd -d -c 1 --resolve-names=never
25 echo "re-trigger kernel uevents and wait for udev to settle" >&2
26 udevadm trigger -c add
30 ____********************************
31 / ___|_ __ ___ ___| |_(_)_ __ __ _ ___
32 | | _| '__/ _ \/ _ \ __| | '_ \ / _' / __|
33 | |_| | | | __/ __/ |_| | | | | (_| \__ \
34 \____|_| \___|\___|\__|_|_| |_|\__, |___/
37 | ____|__ _ _ __| |_| |__ | (_)_ __ __ _| |
38 | _| / _' | '__| __| '_ \| | | '_ \ / _' | |
39 | |__| (_| | | | |_| | | | | | | | | (_| |_|
40 |_____\__,_|_| \__|_| |_|_|_|_| |_|\__, (_)
42 *******************************
43 You are now on your own...
47 exec setsid cttyhack sh