diff options
author | pst <pst@FreeBSD.org> | 1997-06-25 11:48:47 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-06-25 11:48:47 +0000 |
commit | 11cc829faea7c94837080def42b5535946dd9357 (patch) | |
tree | a161fd23e622bad1e6cb210c57f6266696b02e1e /etc/rc | |
parent | 087cba271c05c901f20fa53b610012e377d4bc85 (diff) | |
download | FreeBSD-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/rc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |