Execute rc.local in a subshell instead of sourcing it.

Requested by:	dima
This commit is contained in:
Paul Traina 1997-06-25 11:48:47 +00:00
parent e3144c3932
commit edbecb639b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26934

4
etc/rc
View File

@ -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