From d69b11e73a70c9c0ed6cd888ff4ac4eb3e877ec2 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Wed, 4 Jun 2003 00:22:45 +0000 Subject: fixed a rc.sysinit bug and moved conf.d parsing to the top of rc.conf --- rc.conf | 14 +++++++------- rc.sysinit | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rc.conf b/rc.conf index 000bad4..e70b3db 100644 --- a/rc.conf +++ b/rc.conf @@ -2,6 +2,13 @@ # /etc/rc.conf - Main Configuration for Arch Linux # +# +# Load any configuration settings in /etc/conf.d +# +for cfg in /etc/conf.d/*; do + [ -r $cfg ] && source $cfg +done + # # Localization # @@ -47,11 +54,4 @@ ROUTES=(!gateway) # DAEMONS=(!pcmcia network crond inetd) -# -# Load any configuration settings in /etc/conf.d -# -for cfg in /etc/conf.d/*; do - [ -r $cfg ] && source $cfg -done - # End of file diff --git a/rc.sysinit b/rc.sysinit index 4d92070..ee8a39b 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -17,7 +17,7 @@ status "Starting DevFS Daemon" /sbin/devfsd /dev # /proc is temporarily mounted to check for LVM support - it is re-mounted # later from /etc/fstab -/bin/mount -t proc none /proc +/bin/mount -n -t proc none /proc if [ -f /proc/lvm/global -a -x /sbin/vgchange ]; then stat_busy "Scanning for LVM groups" /sbin/vgchange -a y -- cgit v1.2.3