sharp-drm-driver-radxa-zero/init/S01sharpdrm

36 lines
314 B
Plaintext
Raw Permalink Normal View History

2023-08-04 20:22:22 -04:00
#!/bin/sh
#
2023-08-12 19:41:48 -04:00
# sharpdrm Loads Sharp DRM driver
2023-08-04 20:22:22 -04:00
#
umask 077
start() {
2023-08-12 19:41:48 -04:00
/sbin/modprobe sharp-drm
2023-08-04 20:22:22 -04:00
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 $?