Added kernel-extra.config for customization
This commit is contained in:
@@ -1,20 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
mount -t proc none /proc
|
||||
mount -t sysfs none /sys
|
||||
mount -t devtmpfs devtmpfs /dev
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
|
||||
cat <<!
|
||||
# Optional but nice
|
||||
mkdir -p /dev/pts
|
||||
mount -t devpts devpts /dev/pts
|
||||
|
||||
_ _ _ __ __ _
|
||||
| | | (_) | \/ | | |
|
||||
| |__| |_ | \ / | ___ _ __ ___ | |
|
||||
| __ | | | |\/| |/ _ \| '_ \ / _ \| |
|
||||
| | | | |_ | | | | (_) | | | | (_) |_|
|
||||
|_| |_|_( ) |_| |_|\___/|_| |_|\___/(_)
|
||||
|/
|
||||
echo "Booting kernel took $(cut -d' ' -f1 /proc/uptime) seconds."
|
||||
echo "Dropping to shell on ttyS0..."
|
||||
|
||||
Booting kernel took $(cut -d' ' -f1 /proc/uptime) seconds.
|
||||
while true; do
|
||||
setsid cttyhack /bin/sh
|
||||
echo "Shell exited. Starting another one..."
|
||||
done
|
||||
|
||||
!
|
||||
exec /bin/sh
|
||||
EOF
|
||||
exec poweroff -f
|
||||
|
||||
Reference in New Issue
Block a user