summaryrefslogtreecommitdiffstats
path: root/sysutils/doinkd
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-17 16:19:41 +0000
committerijliao <ijliao@FreeBSD.org>2001-08-17 16:19:41 +0000
commitec44a32019505b92c96e3655466eafd0a4a2469e (patch)
tree5f9bfc01fb64a29329233934aaf108b9e5b5225d /sysutils/doinkd
parent39727aea46c701b8f10b71d1d3bfa39e5b5b3bc5 (diff)
downloadFreeBSD-ports-ec44a32019505b92c96e3655466eafd0a4a2469e.zip
FreeBSD-ports-ec44a32019505b92c96e3655466eafd0a4a2469e.tar.gz
Simplification of idled.sh
PR: 28693 Submitted by: James Howard <howardjp@well.com>
Diffstat (limited to 'sysutils/doinkd')
-rw-r--r--sysutils/doinkd/files/idled.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysutils/doinkd/files/idled.sh b/sysutils/doinkd/files/idled.sh
index 880e471..35c7528 100644
--- a/sysutils/doinkd/files/idled.sh
+++ b/sysutils/doinkd/files/idled.sh
@@ -1,9 +1,5 @@
#!/bin/sh
case "$1" in
- start)
- /usr/local/libexec/idled
- echo -n ' idled'
- ;;
stop)
killall -TERM idled
echo "idled stopped"
@@ -16,7 +12,7 @@ case "$1" in
-h)
echo "Usage: `basename $0` { start | stop | restart }"
;;
- *)
+ *) # includes start
/usr/local/libexec/idled
echo -n ' idled'
;;
OpenPOWER on IntegriCloud