diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-03-03 17:51:38 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-03-03 17:51:38 +0000 |
commit | 86e6c0b4c5ee8692dcf57cd78978165c876e812f (patch) | |
tree | aa8139e4b044bc6a7b5e0a57b56d3a293f73b12b | |
parent | 307f6ac66f946d5ca5a68035fecf297be503a327 (diff) | |
download | drakx-86e6c0b4c5ee8692dcf57cd78978165c876e812f.tar drakx-86e6c0b4c5ee8692dcf57cd78978165c876e812f.tar.gz drakx-86e6c0b4c5ee8692dcf57cd78978165c876e812f.tar.bz2 drakx-86e6c0b4c5ee8692dcf57cd78978165c876e812f.tar.xz drakx-86e6c0b4c5ee8692dcf57cd78978165c876e812f.zip |
check for cups status before running it
-rw-r--r-- | live/One/2006.0/patches/lp.script.start.patch | 2 |
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 |