blob: b6c998586c6425a917df8029c98e33d8aeb7aba8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
#
### BEGIN INIT INFO
# Provides: mm
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 5
# Default-Stop: 0 1 6
### END INIT INFO
case "$1" in
"start")
# insert multimedia modules
/sbin/modprobe -q -a mmngr mmngrbuf vspm vspm_if uvcs_drv
;;
stop)
# remove multimedia modules
/sbin/modprobe -q -r -a mmngr mmngrbuf vspm vspm_if uvcs_drv
;;
reload|restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 { start | stop | restart }"
;;
esac
|