diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-09-18 07:38:18 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-09-18 07:38:18 +0000 |
| commit | 7c6dadee19e0fce2afe56724684943249e08cd38 (patch) | |
| tree | a7055cb28fc2f04518698d911832235b6cd3d6ea | |
| parent | f7f7fe111b94d858ee13afc80f056a8a16bfd919 (diff) | |
Notes
| -rw-r--r-- | etc/rc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.68 1995/07/20 16:26:25 wollman Exp $ +# $Id: rc,v 1.69 1995/09/14 02:44:47 jkh Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -302,10 +302,14 @@ if [ -f /etc/rc.$arch ]; then . /etc/rc.$arch fi -# Do traditional (but rather obsolete) rc.local file if it exists. -if [ -f /etc/rc.local ]; then - sh /etc/rc.local +if [ -d /etc/rc.local.d ]; then + for script in /etc/rc.local.d/*.sh; do + [ -x $script ] && $script start + done fi +# Do traditional (but rather obsolete) rc.local file if it exists. +[ -x /etc/rc.local ] && /etc/rc.local + date exit 0 |
