mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
inittab: spawn -/bin/sh instead of getty
This commit is contained in:
@@ -5,7 +5,9 @@
|
|||||||
::sysinit:/bin/mount -a
|
::sysinit:/bin/mount -a
|
||||||
::sysinit:/bin/hostname -F /etc/hostname
|
::sysinit:/bin/hostname -F /etc/hostname
|
||||||
::sysinit:/etc/init.d/rcS
|
::sysinit:/etc/init.d/rcS
|
||||||
console::respawn:/sbin/getty -n -L -l /loginroot.sh console 0 vt100
|
::respawn:-/bin/sh
|
||||||
|
# Same as above: console is the default.
|
||||||
|
#console::respawn:-/bin/sh
|
||||||
::ctrlaltdel:/sbin/reboot
|
::ctrlaltdel:/sbin/reboot
|
||||||
::shutdown:/etc/init.d/rcK
|
::shutdown:/etc/init.d/rcK
|
||||||
::shutdown:/sbin/swapoff -a
|
::shutdown:/sbin/swapoff -a
|
||||||
|
|||||||
Reference in New Issue
Block a user