The only problem with the script that thttpd ships right now is a missing
space between "^" and "$PID":

            if ps ax | grep -q "^ $PID"; then


since "ps ax" puts a space in the begining.

Otherwise i think is an overkill to have "stop)" and "force-stop)" with the
same content except for the "echo", which could be resolved inside
"stop|force-stop)" case entry.

Cheers,
-- 
Jesus Climent                      info:pumuki.org dj:triplestereo.com
Unix SysAdm|Linux User #66350|Debian Developer|2.6.18|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

I don't wanna hear old sad bastard music Barry, I just want something I can 
ignore.
                --Rob (High Fidelity)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to