Lines Matching refs:init
111 # The OL 5 init honors /etc/selinux/config, but note that
116 # /usr/sbin/selinuxenabled with a symlink to /bin/false so that init
201 sed -i 's|-f /proc/sys/net/ipv4/ip_forward|-w /proc/sys/net/ipv4/ip_forward|' $container_rootfs/etc/rc.d/init.d/network
202 sed -i 's|-f /proc/sys/net/ipv4/ip_always_defrag|-w /proc/sys/net/ipv4/ip_always_defrag|' $container_rootfs/etc/rc.d/init.d/network
206 rm -f $container_rootfs/etc/sysconfig/network-scripts/init.ipv6-global
217 rm -f $container_rootfs/etc/init/readahead-collector.conf
218 rm -f $container_rootfs/etc/init/readahead-disable-services.conf
230 sed -i 's|action $"Setting network parameters|# LXC action $"Setting network parameters|' $container_rootfs/etc/init.d/network 2>/dev/null
231 sed -i 's|action $"Setting network parameters|# LXC action $"Setting network parameters|' $container_rootfs/etc/init.d/NetworkManager 2>/dev/null
262 sed -i 's|runcmd $"Syncing hardware clock|# LXC no hwclock runcmd $"Syncing hardware clock|' $container_rootfs/etc/rc.d/init.d/halt
264 sed -i 's|\[ -x /sbin/hwclock|\[ 0 -eq 1|' $container_rootfs/etc/rc.d/init.d/halt
282 rm -f $container_rootfs/etc/init/plymouth-shutdown.conf
283 rm -f $container_rootfs/etc/init/quit-plymouth.conf
284 rm -f $container_rootfs/etc/init/splash-manager.conf
287 sed -i 's|&& $1 !~ /^\\/dev\\/ram/|\&\& $2 !~ /^\\/dev\\/lxc/ \&\& $1 !~ /^\\/dev\\/ram/|' $container_rootfs/etc/init.d/halt
290 sed -i 's|\[ -f /proc/swaps \]|# LXC [ -f /proc/swaps ]|' $container_rootfs/etc/init.d/halt
376 if [ -f $container_rootfs/etc/init/tty.conf ]; then
377 sed -i 's|mingetty|mingetty --nohangup|' $container_rootfs/etc/init/tty.conf
401 cat <<EOF > $container_rootfs/etc/init/console.conf
416 # lxc-shutdown sends SIGPWR to init, OL4 and OL5 have SysVInit, just
419 # cleanly. We use "init 0" instead of shutdown -h now to avoid SELinux
425 cat <<EOF > $container_rootfs/etc/init/power-status-changed.conf
428 # This task is run whenever init receives SIGPWR
433 exec init 0