diff options
author | jkh <jkh@FreeBSD.org> | 1995-09-19 08:33:43 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-09-19 08:33:43 +0000 |
commit | 510222472c88b031fa5a8db4563198ccdd4d9b94 (patch) | |
tree | 257c811fe0e2926d65c5724f7097c9e74004025a /etc | |
parent | a50926b94b1df196932a9b68db00e7e6ca9d4f47 (diff) | |
download | FreeBSD-src-510222472c88b031fa5a8db4563198ccdd4d9b94.zip FreeBSD-src-510222472c88b031fa5a8db4563198ccdd4d9b94.tar.gz |
Bring my fixes over from 2.1.
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 d4e1460..76f9975 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 ############# |