Call rc.local with . instead of sh to pass variables

Submitted by: John Capo
This commit is contained in:
Andrey A. Chernov 1994-11-26 19:25:14 +00:00
parent d1a795a280
commit 23826a9d2a

4
etc/rc
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.39 1994/11/07 04:02:26 phk Exp $
# $Id: rc,v 1.40 1994/11/17 08:28:02 smace Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -239,7 +239,7 @@ if [ -x /sbin/ldconfig ]; then
ldconfig ${_LDC}
fi
sh /etc/rc.local
. /etc/rc.local
date