summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/hplip/hplip-3.12.6/setup-add-sleep-after-cups-reset.patch
blob: 0e1b6c4ed390e119ccb6863c50c936f48ee64806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Upstream-Status: Inappropriate [embedded specific]

--- hplip-3.11.10/setup.py.orig	2011-10-02 14:06:19.000000000 +1100
+++ hplip-3.11.10/setup.py	2012-02-29 08:21:39.167999938 +1100
@@ -573,6 +573,7 @@
 
             log.debug("Restarting CUPS...")
             status, output = utils.run(restart_cups())
+            time.sleep(3)
             log.debug("Restart CUPS returned: exit=%d output=%s" % (status, output))
 
             cups.setPasswordPrompt("You do not have permission to add a printer.")