*** config-scripts/cups-common.m4.old	Fri Mar  2 09:15:22 2007
--- config-scripts/cups-common.m4	Fri Mar  2 09:15:37 2007
***************
*** 63,68 ****
--- 63,69 ----
  AC_PATH_PROG(RMDIR,rmdir)
  AC_PATH_PROG(SED,sed)
  AC_PATH_PROG(STRIP,strip)
+ AC_PATH_PROG(PS,ps)
  
  if test "x$AR" = x; then
  	AC_MSG_ERROR([Unable to find required library archive command.])
*** init/cups.sh.in.old	Fri Mar  2 09:16:03 2007
--- init/cups.sh.in	Fri Mar  2 09:16:54 2007
***************
*** 141,147 ****
  
  case "`uname`" in
  	HP-UX* | AIX* | SINIX*)
! 		pid=`ps -e | awk '{if (match($4, ".*/cupsd$") || $4 == "cupsd") print $1}'`
  		;;
  	IRIX* | SunOS*)
  		pid=`ps -e | nawk '{if (match($4, ".*/cupsd$") || $4 == "cupsd") print $1}'`
--- 141,147 ----
  
  case "`uname`" in
  	HP-UX* | AIX* | SINIX*)
! 		pid=`@PS@ -e | awk '{if (match($4, ".*/cupsd$") || $4 == "cupsd") print $1}'`
  		;;
  	IRIX* | SunOS*)
  		pid=`ps -e | nawk '{if (match($4, ".*/cupsd$") || $4 == "cupsd") print $1}'`
***************
*** 166,171 ****
--- 166,176 ----
  #
  
  case $1 in
+ 
+ 	start_msg)
+ 		echo "Starting CUPS Server"
+ 		;;
+ 
  	start | restart | reload)
  		if $IS_ON cups; then
  			if test "$pid" != ""; then
***************
*** 183,188 ****
--- 188,197 ----
  			$ECHO_OK
  			$ECHO "cups: ${1}ed scheduler."
  		fi
+ 		;;
+ 
+ 	stop_msg)
+ 		echo "Stopping CUPS Server"
  		;;
  
  	stop)
