aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-18 00:19:41 +0800
committerijliao <ijliao@FreeBSD.org>2001-08-18 00:19:41 +0800
commitec44a32019505b92c96e3655466eafd0a4a2469e (patch)
tree5f9bfc01fb64a29329233934aaf108b9e5b5225d /sysutils
parent39727aea46c701b8f10b71d1d3bfa39e5b5b3bc5 (diff)
downloadfreebsd-ports-gnome-ec44a32019505b92c96e3655466eafd0a4a2469e.tar.gz
freebsd-ports-gnome-ec44a32019505b92c96e3655466eafd0a4a2469e.tar.zst
freebsd-ports-gnome-ec44a32019505b92c96e3655466eafd0a4a2469e.zip
Simplification of idled.sh
PR: 28693 Submitted by: James Howard <howardjp@well.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/doinkd/files/idled.sh6
-rw-r--r--sysutils/idled/files/idled.sh6
2 files changed, 2 insertions, 10 deletions
diff --git a/sysutils/doinkd/files/idled.sh b/sysutils/doinkd/files/idled.sh
index 880e47162941..35c75289f80a 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'
;;
diff --git a/sysutils/idled/files/idled.sh b/sysutils/idled/files/idled.sh
index 880e47162941..35c75289f80a 100644
--- a/sysutils/idled/files/idled.sh
+++ b/sysutils/idled/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'
;;