summaryrefslogtreecommitdiffstats
path: root/live/One/2006.0/patches/lp.script.start.patch
blob: 6a2b36b235aa0f995b2c0b3741ce8fb8812a2a8f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- etc/dynamic/scripts/lp.script.start	2006-03-03 10:15:52.000000000 -0500
+++ etc/dynamic/scripts/lp.script	2006-03-03 10:59:14.000000000 -0500
@@ -78,6 +78,8 @@
 	    # not already running
 	    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 status >/dev/null || service cups start
 	    autosetupprintqueues --$AUTO_SETUP_QUEUES_MODE &
 	fi
     fi