diff options
author | Juergen Daubert <jue@jue.li> | 2015-06-29 17:08:22 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2015-06-29 17:08:22 +0200 |
commit | 621ff463b53e6c04b90d4534f1f594789f8d32d4 (patch) | |
tree | 1a4e8fdff44292e5ce9ea126f76ce06fce3db442 /dropbear | |
parent | 9088d177b479e503e4ea4fce484307e48e44b37e (diff) | |
download | opt-621ff463b53e6c04b90d4534f1f594789f8d32d4.tar.gz opt-621ff463b53e6c04b90d4534f1f594789f8d32d4.tar.xz |
dropbear: show pid in the status message of the rc script
Diffstat (limited to 'dropbear')
-rw-r--r-- | dropbear/.md5sum | 2 | ||||
-rw-r--r-- | dropbear/Pkgfile | 2 | ||||
-rw-r--r-- | dropbear/dropbear | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dropbear/.md5sum b/dropbear/.md5sum index 9f39d2d51..4d36bcb7a 100644 --- a/dropbear/.md5sum +++ b/dropbear/.md5sum @@ -1,2 +1,2 @@ -513e13e2b2dd352dff0b58e6ae8bd586 dropbear +3b758db19554e494b0a1d69996fe5d29 dropbear e967e320344cd4bfebe321e3ab8514d6 dropbear-2015.67.tar.bz2 diff --git a/dropbear/Pkgfile b/dropbear/Pkgfile index f7bc976a7..52cb7a5c2 100644 --- a/dropbear/Pkgfile +++ b/dropbear/Pkgfile @@ -5,7 +5,7 @@ name=dropbear version=2015.67 -release=2 +release=3 source=(http://matt.ucc.asn.au/$name/releases/$name-$version.tar.bz2 \ $name) diff --git a/dropbear/dropbear b/dropbear/dropbear index c2a6c1744..20f6b2246 100644 --- a/dropbear/dropbear +++ b/dropbear/dropbear @@ -53,7 +53,7 @@ restart) status) $SSD --status --pidfile $PID case $? in - 0) echo "$PROG is running" ;; + 0) echo "$PROG is running with pid $(cat $PID)" ;; 1) echo "$PROG is not running but the pid file $PID exists" ;; 3) echo "$PROG is not running" ;; 4) echo "Unable to determine the program status" ;; |