diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-09-19 08:33:43 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-09-19 08:33:43 +0000 |
commit | bf5c926da35b3b7ee5b2931130973d2f91425e64 (patch) | |
tree | 257c811fe0e2926d65c5724f7097c9e74004025a /etc | |
parent | d51afe9d3879aacaa94aa7ed9a14e790767cc6e8 (diff) | |
download | src-bf5c926da35b3b7ee5b2931130973d2f91425e64.tar.gz src-bf5c926da35b3b7ee5b2931130973d2f91425e64.zip |
Bring my fixes over from 2.1.
Notes
Notes:
svn path=/head/; revision=10895
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 12 | ||||
-rw-r--r-- | etc/sysconfig | 4 |
2 files changed, 8 insertions, 8 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.70 1995/09/18 07:38:18 jkh Exp $ +# $Id: rc,v 1.71 1995/09/18 19:17:13 paul Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -288,13 +288,13 @@ fi # configure implementation specific stuff arch=`uname -m` -if [ -f /etc/rc.$arch ]; then - . /etc/rc.$arch +if [ -f /etc/rc.${arch} ]; then + . /etc/rc.${arch} fi -if [ "X${local_startup}" != X"NO" -a -d $local_startup ]; then - for script in $local_startup/*.sh; do - [ -x $script ] && $script start +if [ "X${local_startup}" != X"NO" -a -d ${local_startup} ]; then + for script in ${local_startup}/*.sh; do + [ -x ${script} ] && ${script} start done fi diff --git a/etc/sysconfig b/etc/sysconfig index d4e1460ce940..76f9975a90b0 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.22 1995/09/14 23:17:13 jkh Exp $ +# $Id: sysconfig,v 1.23 1995/09/18 19:17:14 paul Exp $ ######################### Start Of Local Configuration Section ########### # Location of local startup files. -local_startup=/usr/local/etc +local_startup=/usr/local/etc/rc.local.d ######################### End Of Local Configuration Section ############# |