mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
Noticed that when testing, things were running again on poweroff. Maybe we should just do the right thing and check for the start stop argument? But who cares about the shutdown of stateless VMs, I'd rather just get it done ASAP.
12 lines
347 B
Plaintext
12 lines
347 B
Plaintext
::sysinit:/bin/mount -t proc proc /proc
|
|
::sysinit:/bin/mount -o remount,rw /
|
|
::sysinit:/bin/mkdir -p /dev/pts
|
|
::sysinit:/bin/mkdir -p /dev/shm
|
|
::sysinit:/bin/mount -a
|
|
::sysinit:/bin/hostname -F /etc/hostname
|
|
::sysinit:/etc/init.d/rcS
|
|
::respawn:-/bin/sh
|
|
# Same as above: console is the default.
|
|
#console::respawn:-/bin/sh
|
|
::ctrlaltdel:/sbin/reboot
|