/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
if (autook)
newtWinMessage(title, ctr[TR_OK], ctr[TR_SETUP_FINISHED]);
else
+ {
newtWinMessage(ctr[TR_WARNING], ctr[TR_OK], ctr[TR_SETUP_NOT_COMPLETE]);
+
+ fprintf(flog, "Setup program not finnished.\n");
+ fflush(flog);
+ fclose(flog);
+
+ newtFinished();
+
+ return 1;
+ }
}
fprintf(flog, "Setup program ended.\n");