36 lines
314 B
Bash
Executable File
36 lines
314 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# sharpdrm Loads Sharp DRM driver
|
|
#
|
|
|
|
umask 077
|
|
|
|
start() {
|
|
/sbin/modprobe sharp-drm
|
|
echo "OK"
|
|
}
|
|
stop() {
|
|
echo "OK"
|
|
}
|
|
restart() {
|
|
stop
|
|
start
|
|
}
|
|
|
|
case "$1" in
|
|
start)
|
|
start
|
|
;;
|
|
stop)
|
|
stop
|
|
;;
|
|
restart|reload)
|
|
restart
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start|stop|restart}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|