You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
184 B
5 lines
184 B
3 years ago
|
#!/bin/sh -e
|
||
|
# we don't need no gettys in OpenVZ VEs (might need one in LXC though)
|
||
|
[ -s /etc/inittab ] || exit 0
|
||
|
sed -i 's,^[0-9]\+:[0-9]\+:respawn:/sbin/mingetty.*,#&,' /etc/inittab
|