#!/bin/sh
#
# /etc/rc.d/rc.sysinit - run once at boot time
-# $Id: rc.sysinit,v 1.23 1999/08/31 23:12:44 wiget Exp $
+# $Id: rc.sysinit,v 1.24 1999/09/02 12:16:15 misiek Exp $
#
# Taken in part from Miquel van Smoorenburg's bcheckrc.
# Changes: Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
fi
[ -n "$mver" -a -f "/boot/module-info-$mver" ] && ln -sf /boot/module-info-$mver /boot/module-info
[ -n "$mver" -a -f "/boot/System.map-$mver" ] && ln -sf /boot/System.map-$mver /boot/System.map
- run_cmd "Finding module dependencies" depmod -as
+ run_cmd "Finding module dependencies" depmod -a -s
fi
# load sound modules
if [ -n "$USEMODULES" ] && [ "$LOAD_SOUND" == "yes" ]; then
if grep -s -q "^alias sound" /etc/conf.modules ; then
- run_cmd "Loading sound module" modprobe sound
+ run_cmd "Loading sound module" modprobe -s sound
fi
if grep -s -q "^alias midi" /etc/conf.modules ; then
- run_cmd "Loading midi module" modprobe midi
+ run_cmd "Loading midi module" modprobe -s midi
fi
fi
if cat /proc/devices | grep -qv ' 9 st' ; then
if [ -n "$USEMODULES" ] ; then
# Try to load the module. If it fails, ignore it...
- insmod -p st >/dev/null 2>&1 && modprobe st >/dev/null 2>&1
+ insmod -p st >/dev/null 2>&1 && modprobe -s st >/dev/null 2>&1
fi
fi
fi