diff options
author | Bill Nottingham <notting@redhat.com> | 1999-02-04 20:17:57 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-02-04 20:17:57 +0000 |
commit | 14ac181bc961bd8691fe4db9225f8e13f672ff74 (patch) | |
tree | a83ff0f95d6defee733ac5cdfdff372f297f543a /rc.d/rc.sysinit | |
parent | 259187b07b6e775ce79671f910cab860682e3912 (diff) | |
download | initscripts-14ac181bc961bd8691fe4db9225f8e13f672ff74.tar initscripts-14ac181bc961bd8691fe4db9225f8e13f672ff74.tar.gz initscripts-14ac181bc961bd8691fe4db9225f8e13f672ff74.tar.bz2 initscripts-14ac181bc961bd8691fe4db9225f8e13f672ff74.tar.xz initscripts-14ac181bc961bd8691fe4db9225f8e13f672ff74.zip |
bugfixes for 'old' mode
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 4a3bb6cb..a489d194 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -26,7 +26,7 @@ fi . /etc/rc.d/init.d/functions # Fix console loglevel -/sbin/loglevel 1 +/sbin/loglevel $LOGLEVEL # Start up swapping. action "Activating swap partitions" swapon -a @@ -157,8 +157,6 @@ if [ -n "$USEMODULES" ]; then fi fi -if [ -n "$USEMODULES" ]; then - if [ -f /proc/sys/kernel/modprobe ]; then # /proc/sys/kernel/modprobe indicates built-in kmod instead if [ -n "$USEMODULES" ]; then @@ -308,7 +306,7 @@ $CLOCK $CLOCKFLAGS action "Setting clock $CLOCKDEF: `date`" date # Right, now turn on swap in case we swap to files. -swapon -a 2>&1 >/dev/null +swapon -a >/dev/null 2>&1 action "Enabling swap space" /bin/true # Initialize the serial ports. |