#!/bin/sh # startup script for Canon Printer Daemon for CUPS (ccpd) ### BEGIN INIT INFO # Provides: ccpd # Required-Start: kmod cups # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 1 # Short-Description: Canon Printer Daemon for CUPS (ccpd) # Description: Canon Printer Daemon for CUPS (ccpd) ### END INIT INFO #if [ `ps awx | grep cupsd | grep -v grep | wc -l` -eq 0 ]; then # while [ `ps awx | grep cupsd | grep -v grep | wc -l` -eq 0 ] # do # sleep 3 # done # sleep 5 #fi