summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-06-25 11:48:47 +0000
committerpst <pst@FreeBSD.org>1997-06-25 11:48:47 +0000
commit11cc829faea7c94837080def42b5535946dd9357 (patch)
treea161fd23e622bad1e6cb210c57f6266696b02e1e /etc
parent087cba271c05c901f20fa53b610012e377d4bc85 (diff)
downloadFreeBSD-src-11cc829faea7c94837080def42b5535946dd9357.zip
FreeBSD-src-11cc829faea7c94837080def42b5535946dd9357.tar.gz
Execute rc.local in a subshell instead of sourcing it.
Requested by: dima
Diffstat (limited to 'etc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 4eb6028..852b371 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.129 1997/06/18 16:01:18 pst Exp $
+# $Id: rc,v 1.130 1997/06/25 03:12:12 dima Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -294,7 +294,7 @@ if [ "X${local_startup}" != X"NO" ]; then
fi
# Do traditional (but rather obsolete) rc.local file if it exists.
-[ -f /etc/rc.local ] && . /etc/rc.local
+[ -f /etc/rc.local ] && sh /etc/rc.local
date
exit 0
OpenPOWER on IntegriCloud