Posted: Tue 28 Apr 2020, 03:11 Post subject:
Canon printing system software problem
I need help regarding to start up ccpd daemon of Canon CAPT printer driver at boot time.
I use official Canon LBP 810 linux drivers installed on my BionicPup32. Installation procedure creates Canon printing system ccpd control script in init.d like
# startup script for Canon Printer Daemon for CUPS (ccpd)
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 ]
if [ -f /etc/rc.d/init.d/functions ]; then
if [ -f /etc/slackware-version ]; then
elif [ -x /sbin/startproc ]; then
elif [ -x /sbin/start-stop-daemon ]; then
All of the puppy services initiated from init.d directory are started by simle /etc/rc.d/rc.services script
for service_script in /etc/init.d/*
[ -x $service_script ] && $service_script start
This code launches every of init.d scripts one by one and waits until current script finish it's work before continue with next script. Reason of my problem is rc.services processes init.d scripts in alphabetic order
So ccpd script started before cups and waits until infinity when cups will be started. (See above "while [ `ps awx | grep cupsd | grep -v grep | wc -l` -eq 0 ] do sleep 3"). But cups never been started until ccpd finished. Dead loop. All other init.d system services after ccpd are not started too. System becomes like zombie puppy.
I can rename ccpd, for example, into zccpd to change script processing order. It works. But I feel it is not right way to solve problem. What right 'linux way' solution be?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum