Patch for cups-base

David W. Chapman Jr. dwcjr at inethouston.net
Thu Jul 22 10:56:29 PDT 2004


------------------------------------------------------------------------

--- cups.sh.in.orig	2004-07-22 19:17:28.000000000 +0200
+++ cups.sh.in	2004-07-22 19:18:48.000000000 +0200
@@ -57,7 +57,7 @@
 		ECHO_ERROR=:
 		;;
 
-	*BSD*)
+	*BSD* | Dragon*)
         	IS_ON=:
 		ECHO=echo
 		ECHO_OK=:
@@ -145,7 +145,7 @@
 	OSF1*)
 		pid=`ps -e | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'`
 		;;
-	Linux* | *BSD* | Darwin*)
+	Linux* | *BSD* | Darwin* | Dragon*)
 		pid=`ps ax | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'`
 		;;
 	*)
You should submit this to the cups people.  Why doesn't DragonFly have 
BSD in the uname anyway?





More information about the Submit mailing list