Added the rc-abort command, #175106 thanks to Daniel Drake.

This commit is contained in:
Roy Marples
2007-04-20 13:12:21 +00:00
parent a316a1fa72
commit c52f216450
7 changed files with 128 additions and 117 deletions

View File

@ -51,13 +51,8 @@ do_checkfs() {
if [ ${retval} -gt 3 ] ; then
eend 2 "Fsck could not correct all errors, manual repair needed"
if [ "${RC_SYS}" = "VPS" ] ; then
halt -f
elif [ -x /sbin/sulogin ] ; then
sulogin "${CONSOLE}"
else
return 1
fi
rc-abort
exit 1
fi
fi