From c52f2164502544c17811e47fc3236fe87aa7fc5b Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 20 Apr 2007 13:12:21 +0000 Subject: Added the rc-abort command, #175106 thanks to Daniel Drake. --- init.d/checkfs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'init.d/checkfs') diff --git a/init.d/checkfs b/init.d/checkfs index 2f9ead02..da3dc39f 100755 --- a/init.d/checkfs +++ b/init.d/checkfs @@ -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 -- cgit v1.2.3