mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
24 lines
253 B
Text
24 lines
253 B
Text
|
#!/bin/sh
|
||
|
|
||
|
case "$1" in
|
||
|
'start')
|
||
|
keactrl start
|
||
|
;;
|
||
|
'stop')
|
||
|
keactrl stop
|
||
|
;;
|
||
|
'restart')
|
||
|
keactrl stop
|
||
|
keactrl start
|
||
|
;;
|
||
|
'reload')
|
||
|
keactrl reload
|
||
|
;;
|
||
|
'status')
|
||
|
keactrl status
|
||
|
;;
|
||
|
*)
|
||
|
echo "usage $0 start|stop|restart|reload|status"
|
||
|
esac
|
||
|
|