build-vm: drop 04-inittab
Not used by systemd and looks obsolete generally as sysvinit-based disk images aren't really targeting low-resource systems these days _by default_ but rather _can_ target those as well; feel free to reconstruct these "RAM saving" bits as a part of e.g. lowmem patch.
This commit is contained in:
parent
2245193cbc
commit
8d4c094093
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh -e
|
|
||||||
# we don't need no extra gettys in VMs
|
|
||||||
[ -s /etc/inittab ] || exit 0
|
|
||||||
# ...except when it's a real disk image, not a VM for sure
|
|
||||||
[ `arch` = e2k ] && exit 0
|
|
||||||
sed -i 's,^[3-9]\+:[0-9]\+:respawn:/sbin/mingetty.*,#&,' /etc/inittab
|
|
Loading…
Reference in New Issue
Block a user