From 86e6c0b4c5ee8692dcf57cd78978165c876e812f Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 3 Mar 2006 17:51:38 +0000 Subject: check for cups status before running it --- live/One/2006.0/patches/lp.script.start.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live/One/2006.0/patches/lp.script.start.patch b/live/One/2006.0/patches/lp.script.start.patch index 99c7ba477..6a2b36b23 100644 --- a/live/One/2006.0/patches/lp.script.start.patch +++ b/live/One/2006.0/patches/lp.script.start.patch @@ -5,7 +5,7 @@ ps auxwww | grep 'perl /usr/sbin/autosetupprintqueues' | grep -vq grep && return ps auxwww | grep 'perl /usr/sbin/printerdrake' | grep -vq grep && return + chkconfig --add cups -+ service cups start ++ service cups status >/dev/null || service cups start autosetupprintqueues --$AUTO_SETUP_QUEUES_MODE & fi fi -- cgit v1.2.1