summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/mountcritlocal
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-12-09 08:17:33 +0000
committermtm <mtm@FreeBSD.org>2003-12-09 08:17:33 +0000
commit2669c6047377fba1e6bbf1c2cf333e7c09b664f7 (patch)
tree1048648f2edd5bac6e7e201bbb5d9f1284f427a3 /etc/rc.d/mountcritlocal
parent9cc2fb30f267309ea4e89a018053f39712ace080 (diff)
downloadFreeBSD-src-2669c6047377fba1e6bbf1c2cf333e7c09b664f7.zip
FreeBSD-src-2669c6047377fba1e6bbf1c2cf333e7c09b664f7.tar.gz
If rc.d/mountcritlocal is unable to mount local filesystems,
then immediately terminate the shell (during boot this also terminates the parent rc(8) shell). This was the pre-rcNG behaviour. Also, remove an extraneous mount /. PR: conf/57659 Submitted by: yar (with modifications)
Diffstat (limited to 'etc/rc.d/mountcritlocal')
-rwxr-xr-xetc/rc.d/mountcritlocal2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/mountcritlocal b/etc/rc.d/mountcritlocal
index 2afddd7..83acefe 100755
--- a/etc/rc.d/mountcritlocal
+++ b/etc/rc.d/mountcritlocal
@@ -43,7 +43,7 @@ mountcritlocal_start()
*)
echo 'Mounting /etc/fstab filesystems failed,' \
' startup aborted'
- exit 1
+ kill -QUIT $$
;;
esac
;;
OpenPOWER on IntegriCloud