diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-09-19 10:19:44 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-09-19 10:19:44 +0000 |
commit | 2cc3249f42659baca876cbf546d3a5ee5aa4fb56 (patch) | |
tree | fda0590cd5505681ca55ee9358a5b2e6d9213ac4 /etc | |
parent | 7fcd7f5dcb931fcd962b83d76c2e50964707937c (diff) | |
download | src-2cc3249f42659baca876cbf546d3a5ee5aa4fb56.tar.gz src-2cc3249f42659baca876cbf546d3a5ee5aa4fb56.zip |
local_startup=/usr/local/etc/rc.d
[ As suggested by Satoshi - rc.local.d was pretty redundant under /usr/local;
duh! :-)]
[ -f /etc/rc.local ] && sh /etc/rc.local
For backwards compatibilty with non-executable rc.local files. Sorry, Bruce!
Submitted by: asami & bde & jkh
Notes
Notes:
svn path=/head/; revision=10898
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 4 | ||||
-rw-r--r-- | etc/sysconfig | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.71 1995/09/18 19:17:13 paul Exp $ +# $Id: rc,v 1.72 1995/09/19 08:33:42 jkh Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -299,7 +299,7 @@ if [ "X${local_startup}" != X"NO" -a -d ${local_startup} ]; then fi # Do traditional (but rather obsolete) rc.local file if it exists. -[ -x /etc/rc.local ] && /etc/rc.local +[ -f /etc/rc.local ] && sh /etc/rc.local date exit 0 diff --git a/etc/sysconfig b/etc/sysconfig index 76f9975a90b0..b10d9234d534 100644 --- a/etc/sysconfig +++ b/etc/sysconfig @@ -4,12 +4,12 @@ # This is sysconfig - a file full of useful variables that you can set # to change the default startup behavior of your system. # -# $Id: sysconfig,v 1.23 1995/09/18 19:17:14 paul Exp $ +# $Id: sysconfig,v 1.24 1995/09/19 08:33:43 jkh Exp $ ######################### Start Of Local Configuration Section ########### # Location of local startup files. -local_startup=/usr/local/etc/rc.local.d +local_startup=/usr/local/etc/rc.d ######################### End Of Local Configuration Section ############# |