modified: contrib/init/g15stats.run

This commit is contained in:
Daniel Menelkir committed 2021-02-12 01:05:40 -03:00
1 parent 4c3eefd855
commit dfd6474371
1 file changed
+3 -14
+3 -14
View File
@@ -1,15 +1,4 @@
#!/bin/sh #!/bin/sh
exec 2>&1
. "${PM_FUNCTIONS}" sv start g15daemon || ext 1
exec g15stats -d
case "$1" in
hibernate|suspend)
/etc/init.d/g15stats stop
;;
thaw|resume)
/etc/init.d/g15stats start
;;
*)
exit $NA
;;
esac