firstsetup: add reboot if setup was not finnished.

This commit is contained in:
Arne Fitzenreiter
2010-12-24 01:02:57 +01:00
parent ceb5098e57
commit e238e4c25b
3 changed files with 14 additions and 0 deletions

View File

@@ -2,6 +2,10 @@
/etc/init.d/sysklogd start
export LANG=en_US.utf8
/usr/local/sbin/setup /dev/tty2 INSTALL
if [ "${?}" == "1" ]; then
echo Setup not finished. Rebooting ...
reboot -f
fi
echo Restarting udev...
killall udevd
/sbin/udevd --daemon

0
src/initscripts/init.d/openvmtools Executable file → Normal file
View File