Remove autodev start and moved to default hotplug path

pull/5/head
xSmurf 9 years ago
parent c26c524461
commit ba001ff8a4

@ -1,33 +0,0 @@
#!/bin/sh
#
# Start autodev
#
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
}
case "$1" in
start)
do_start;
;;
stop)
do_stop;
;;
restart|reload)
do_stop;
sleep 2;
do_start;
;;
*)
echo "Usage: $0 {start|restart|stop}"
exit 1
esac
exit $?
Loading…
Cancel
Save