# simplified busybox inittab for sandbox lxc.

# Put a getty on the console
tty1::respawn:/sbin/getty -n -l /bin/autologin 38400 tty1

# Stuff to do before rebooting
tty1::shutdown:/etc/rc.d/rc.shutdown.lxc

# Startup the system
::sysinit:/bin/chmod 0666 /dev/null /dev/tty
::sysinit:/sbin/ifconfig lo up
tty1::sysinit:/etc/rc.d/rc.network.lxc
tty1::sysinit:/etc/rc.d/rc.sysinit.lxc
tty1::sysinit:/etc/rc.d/rc.oneshot
tty1::sysinit:echo Leave sandbox by typing \'poweroff\', do not use Ctrl-G as above.
tty1::sysinit:echo If you accidentally use Ctrl-G connect back with \'lxc-console -n sandbox-id\'
