blob: 35c75289f80a2f96ee93cfb40000acd12b1338e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
case "$1" in
stop)
killall -TERM idled
echo "idled stopped"
;;
restart)
killall -TERM idled
/usr/local/libexec/idled
echo "idled restarted"
;;
-h)
echo "Usage: `basename $0` { start | stop | restart }"
;;
*) # includes start
/usr/local/libexec/idled
echo -n ' idled'
;;
esac
|