#!/bin/sh -e
# Put the real inittab into place and tell init. Only do it on new install
# when /root/dbootstrap_settings exists.
if [ "$1" = new  -a -f /etc/inittab.real ]; then
	mv -f /etc/inittab.real /etc/inittab
	telinit q
	rm -f /root/dbootstrap_settings # now that we're done with it
	# Clear the screen, in preparation for the login prompt
	clear
fi

# Nothing should run after this.
