summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-10 01:32:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:52 -0500
commit90e9f18c2c1de9b159b83de3a46cdbcc7b4f7ed2 (patch)
tree531d2cd468174ec2db1b9c6b17a843197d21f7d4
parent6a3a0766d5772a33d888c51ac4d68d2fa3e504ae (diff)
downloadsamba-90e9f18c2c1de9b159b83de3a46cdbcc7b4f7ed2.tar.gz
samba-90e9f18c2c1de9b159b83de3a46cdbcc7b4f7ed2.tar.bz2
samba-90e9f18c2c1de9b159b83de3a46cdbcc7b4f7ed2.zip
r6686: strip the directory path from cups printin defaults
(This used to be commit 8fde2a80602d6f58974d0c0f6182abda58bbe0f4)
-rw-r--r--source3/param/loadparm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 14bec052b8..5a2b807e0c 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1267,13 +1267,13 @@ static void init_printer_values(service *pService)
string_set(&pService->szQueuepausecommand, "");
string_set(&pService->szQueueresumecommand, "");
#else
- string_set(&pService->szLpqcommand, "/usr/bin/lpq -P'%p'");
- string_set(&pService->szLprmcommand, "/usr/bin/lprm -P'%p' %j");
- string_set(&pService->szPrintcommand, "/usr/bin/lpr -P'%p' %s; rm %s");
+ string_set(&pService->szLpqcommand, "lpq -P'%p'");
+ string_set(&pService->szLprmcommand, "lprm -P'%p' %j");
+ string_set(&pService->szPrintcommand, "lpr -P'%p' %s; rm %s");
string_set(&pService->szLppausecommand, "lp -i '%p-%j' -H hold");
string_set(&pService->szLpresumecommand, "lp -i '%p-%j' -H resume");
- string_set(&pService->szQueuepausecommand, "/usr/bin/disable '%p'");
- string_set(&pService->szQueueresumecommand, "/usr/bin/enable '%p'");
+ string_set(&pService->szQueuepausecommand, "disable '%p'");
+ string_set(&pService->szQueueresumecommand, "enable '%p'");
#endif /* HAVE_CUPS */
break;