mirror of https://github.com/OpenIPC/firmware.git
Create S991temp_monitor
parent
2357b61e68
commit
efd4aaa494
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
echo "Starting temperature check..."
|
||||||
|
temp_monitor &>/dev/null &
|
||||||
|
;;
|
||||||
|
|
||||||
|
stop)
|
||||||
|
echo "Stopping temperature check..."
|
||||||
|
killall -q temp_monitor
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 {start|stop}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
Loading…
Reference in New Issue