mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
dcb4cb482a
PR: 20458 Submitted by: James Howard <howardjp@wam.umd.edu>
24 lines
355 B
Bash
24 lines
355 B
Bash
#!/bin/sh
|
|
case "$1" in
|
|
start)
|
|
/usr/local/libexec/idled
|
|
echo -n ' idled'
|
|
;;
|
|
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 }"
|
|
;;
|
|
*)
|
|
/usr/local/libexec/idled
|
|
echo -n ' idled'
|
|
;;
|
|
esac
|