diff options
author | Bill Nottingham <notting@redhat.com> | 1999-04-12 16:58:46 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-04-12 16:58:46 +0000 |
commit | 00a972f855e4c38cb98ff7e7084d98610d61793d (patch) | |
tree | 962588d45455cfa8a7e65451dd21bcb51ed37d31 /rc.d/rc.sysinit | |
parent | e5f11973b56392f62d0921477ceb68fe7686aac3 (diff) | |
download | initscripts-00a972f855e4c38cb98ff7e7084d98610d61793d.tar initscripts-00a972f855e4c38cb98ff7e7084d98610d61793d.tar.gz initscripts-00a972f855e4c38cb98ff7e7084d98610d61793d.tar.bz2 initscripts-00a972f855e4c38cb98ff7e7084d98610d61793d.tar.xz initscripts-00a972f855e4c38cb98ff7e7084d98610d61793d.zip |
kill kerneld. make sure sound aliases aren't commented out
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index ebe52cf6..b28c8f70 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -163,7 +163,7 @@ fi rm -f /lib/modules/preferred rm -f /lib/modules/default if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then - # Get ready for kerneld/kmod if module support in the kernel + # Get ready for kmod if module support in the kernel if [ -z `uname -r | grep "-"` ]; then # we're using a new kernel, no preferred needed mver=`uname -r` @@ -184,25 +184,20 @@ fi # load sound modules if [ -n "$USEMODULES" ]; then - if grep -s "alias sound" /etc/conf.modules > /dev/null ; then + if grep -s -q "^alias sound" /etc/conf.modules ; then action "Loading sound module" modprobe sound fi - if grep -s "alias midi" /etc/conf.modules > /dev/null ; then + if grep -s -q "^alias midi" /etc/conf.modules ; then action "Loading midi module" modprobe midi fi fi if [ -f /proc/sys/kernel/modprobe ]; then - # /proc/sys/kernel/modprobe indicates built-in kmod instead if [ -n "$USEMODULES" ]; then echo "/sbin/modprobe" > /proc/sys/kernel/modprobe else echo "" > /proc/sys/kernel/modprobe fi -else - if [ -n "$USEMODULES" ]; then - [ -x /sbin/kerneld ] && action "Starting kerneld" /sbin/kerneld && KERNELD=yes - fi fi # Add raid devices @@ -297,10 +292,6 @@ rm -f /var/lock/LCK* # Delete stale subsystem files. rm -f /var/lock/subsys/* -if [ -n "$KERNELD" ]; then - touch /var/lock/subsys/kerneld -fi - # Delete stale pid files rm -f /var/run/*.pid |