diff options
author | jkh <jkh@FreeBSD.org> | 1995-09-19 10:19:44 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-09-19 10:19:44 +0000 |
commit | 45d3cf3f7935bea42a1a8120dc727bd89e938dd4 (patch) | |
tree | fda0590cd5505681ca55ee9358a5b2e6d9213ac4 /etc | |
parent | 545650b894b069fcee1b93bf9f2c304a5f34cdb0 (diff) | |
download | FreeBSD-src-45d3cf3f7935bea42a1a8120dc727bd89e938dd4.zip FreeBSD-src-45d3cf3f7935bea42a1a8120dc727bd89e938dd4.tar.gz |
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
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 76f9975..b10d923 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 ############# |