From edbecb639bb393a769740ce583ca93d7dc2538ee Mon Sep 17 00:00:00 2001 From: Paul Traina Date: Wed, 25 Jun 1997 11:48:47 +0000 Subject: [PATCH] Execute rc.local in a subshell instead of sourcing it. Requested by: dima --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index 4eb60289dd1..852b3716047 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