ports/opt (3.1): cups-filters: show pid in the status message of the cups-browsed rc script
commit 9088d177b479e503e4ea4fce484307e48e44b37e Author: Juergen Daubert <jue@jue.li> Date: Mon Jun 29 17:03:46 2015 +0200 cups-filters: show pid in the status message of the cups-browsed rc script diff --git a/cups-filters/.md5sum b/cups-filters/.md5sum index bc0ebb1..74c909d 100644 --- a/cups-filters/.md5sum +++ b/cups-filters/.md5sum @@ -1,2 +1,2 @@ -6ac0b4af2a1c70293588faf12a11b652 cups-browsed +7540a6989be0042429f41770b1cdf215 cups-browsed 5afe1bca041c905ec8861d1a6ffbc634 cups-filters-1.0.70.tar.xz diff --git a/cups-filters/Pkgfile b/cups-filters/Pkgfile index 1524358..b261d23 100644 --- a/cups-filters/Pkgfile +++ b/cups-filters/Pkgfile @@ -5,7 +5,7 @@ name=cups-filters version=1.0.70 -release=1 +release=2 source=(http://www.openprinting.org/download/$name/$name-$version.tar.xz cups-browsed) diff --git a/cups-filters/cups-browsed b/cups-filters/cups-browsed index 22cd950..ee541ec 100755 --- a/cups-filters/cups-browsed +++ b/cups-filters/cups-browsed @@ -21,7 +21,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" ;;
participants (1)
-
crux@crux.nu