mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Simplification of idled.sh
PR: 28693 Submitted by: James Howard <howardjp@well.com>
This commit is contained in:
parent
7a133594ec
commit
4a056d796f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46379
@ -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'
|
||||
;;
|
||||
|
@ -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'
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user