mkimage-profiles/features.in/build-ve/image-scripts.d/04inittab
Michael Shigorin 96e89d0062 s/subst/sed -i/g
Initial openSUSE package base taming effort has shown that
relatively few things should be fixed; subst has been generalized
as -i option to sed(1) since its introduction, so let's just fix it.
2011-12-26 18:21:22 +02:00

4 lines
154 B
Bash
Executable File

#!/bin/sh -e
# we don't need no gettys in OpenVZ VEs (might need one in LXC though)
sed -i 's,^[0-9]\+:[0-9]\+:respawn:/sbin/mingetty.*,#&,' /etc/inittab