summaryrefslogtreecommitdiffstats
path: root/live/One/2006.0/patches/lp.script.start.patch
diff options
context:
space:
mode:
Diffstat (limited to 'live/One/2006.0/patches/lp.script.start.patch')
-rw-r--r--live/One/2006.0/patches/lp.script.start.patch2
1 files changed, 1 insertions, 1 deletions
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