0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# lxc Start/Stop LXC autoboot containers
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# chkconfig: 345 99 01
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# description: Starts/Stops all LXC containers configured for autostart.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield### BEGIN INIT INFO
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# Provides: lxc
66188b02b8009075a2e0e2b89a14688c50565bf4Evgeni Golov# Required-Start: $syslog $remote_fs
66188b02b8009075a2e0e2b89a14688c50565bf4Evgeni Golov# Required-Stop: $syslog $remote_fs
1caa57e6b2db972c261d5143f2cd6774a422f660Evgeni Golov# Should-Start: cgroupfs-mount
1caa57e6b2db972c261d5143f2cd6774a422f660Evgeni Golov# Should-Stop: cgroupfs-mount
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# Default-Start: 2 3 4 5
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# Default-Stop: 0 1 6
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# Short-Description: Bring up/down LXC autostart containers
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# Description: Bring up/down LXC autostart containers
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield### END INIT INFO
02fdb536a98e116232548dff6c2faed849e8796fEvgeni Golov# To be replaced by LSB functions, if they can be found
02fdb536a98e116232548dff6c2faed849e8796fEvgeni Golov# Defined here for distributions that don't have log_daemon_msg
02fdb536a98e116232548dff6c2faed849e8796fEvgeni Golov# Try to source LSB init functions to define LSB log_* functions.
a8c710632826ed8ebf46ca91b0cb8ae04c86de5dCarlos Alberto Lopez Perez # Setup host /dev for autodev containers.
02fdb536a98e116232548dff6c2faed849e8796fEvgeni Golov log_daemon_msg "Starting LXC autoboot containers: "
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield# See how we were called.
0af993195cbd57cff700c7c90ee8f95c2a1ef8aaMichael H. Warfield echo "Usage: $0 {start|stop|restart|reload|force-reload}"