summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1993-08-24 06:15:36 +0000
committerswallace <swallace@FreeBSD.org>1993-08-24 06:15:36 +0000
commit8d8d996d595250f93ca42b8cbe33d2239b897592 (patch)
treee26ab4494407ddbb9967d5ceb3da792c91fc2665 /etc/rc
parentfec9785d4cecc0cd6907951cfb60ecc1f7e0b912 (diff)
downloadFreeBSD-src-8d8d996d595250f93ca42b8cbe33d2239b897592.zip
FreeBSD-src-8d8d996d595250f93ca42b8cbe33d2239b897592.tar.gz
Changed -r /fastboot to -e /fastboot. File just needs to exist for fastboot.
Otherwise, doesn't work for non-root owner of /fastboot.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 690cdd6..8571571 100644
--- a/etc/rc
+++ b/etc/rc
@@ -16,7 +16,7 @@ HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
-if [ -r /fastboot ]
+if [ -e /fastboot ]
then
echo Fast boot ... skipping disk checks
elif [ $1x = autobootx ]
OpenPOWER on IntegriCloud