summaryrefslogtreecommitdiffstats
path: root/live/One/2006.0/patches/lp.script.start.patch
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-03 15:20:16 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-03 15:20:16 +0000
commit16e9b799dff5bc399301f85f1749d2782f2a7152 (patch)
tree589d4d4a6404bfb2051de01c85d46bc1c9ae86d3 /live/One/2006.0/patches/lp.script.start.patch
parent50efffc2db24d3f733df2cde625b2fdb8e323b6a (diff)
downloaddrakx-16e9b799dff5bc399301f85f1749d2782f2a7152.tar
drakx-16e9b799dff5bc399301f85f1749d2782f2a7152.tar.gz
drakx-16e9b799dff5bc399301f85f1749d2782f2a7152.tar.bz2
drakx-16e9b799dff5bc399301f85f1749d2782f2a7152.tar.xz
drakx-16e9b799dff5bc399301f85f1749d2782f2a7152.zip
automatically enable CUPS when a printer is detected
Diffstat (limited to 'live/One/2006.0/patches/lp.script.start.patch')
-rw-r--r--live/One/2006.0/patches/lp.script.start.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/live/One/2006.0/patches/lp.script.start.patch b/live/One/2006.0/patches/lp.script.start.patch
new file mode 100644
index 000000000..673051972
--- /dev/null
+++ b/live/One/2006.0/patches/lp.script.start.patch
@@ -0,0 +1,11 @@
+--- etc/dynamic/scripts/lp.script.start 2006-03-03 10:15:52.000000000 -0500
++++ etc/dynamic/scripts/lp.script 2006-03-03 10:17:48.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 start
+ autosetupprintqueues --$AUTO_SETUP_QUEUES_MODE &
+ fi
+ fi