Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2001 13:01:13 -0400 (EDT)
From:      howardjp@well.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28693: Simplification of idled.sh
Message-ID:  <200107041701.f64H1DE85273@m-net.arbornet.org>

next in thread | raw e-mail | index | archive | help

>Number:         28693
>Category:       ports
>Synopsis:       Simplification of idled.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 04 10:00:18 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     James Howard
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Wavix, Incorporated
>Environment:

N/A

>Description:

Going over idled, I noticed some redundancies in the idled.sh:  both start
and * start idled.  Since * includes start, there is no reason to have a
start case.

>How-To-Repeat:

N/A

>Fix:

--- idled.sh.orig	Thu Aug 10 21:34:09 2000
+++ idled.sh	Wed Jul  4 12:56:24 2001
@@ -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 @@
 	-h)
 		echo "Usage: `basename $0` { start | stop | restart }"
 		;;
-	*)
+	*)				# includes start
 		/usr/local/libexec/idled
 		echo -n ' idled'
 		;;
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107041701.f64H1DE85273>