@ -3,17 +3,30 @@
# Start autodev
#
case "$1" in
start)
do_start() {
echo "Starting module autoload..."
echo /opt/sbin/autoload_modules > /proc/sys/kernel/hotplug
/opt/sbin/autoload_modules
}
do_stop() {
echo > /proc/sys/kernel/hotplug
do_start;
;;
stop)
do_stop;
restart|reload)
sleep 2;
*)
echo "Usage: $0 {start}"
echo "Usage: $0 {start|restart|stop}"
exit 1
esac