svn commit: samba r6686 - in branches/SAMBA_3_0/source/param: .
jerry at samba.org
jerry at samba.org
Tue May 10 01:32:44 GMT 2005
Author: jerry
Date: 2005-05-10 01:32:43 +0000 (Tue, 10 May 2005)
New Revision: 6686
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6686
Log:
strip the directory path from cups printin defaults
Modified:
branches/SAMBA_3_0/source/param/loadparm.c
Changeset:
Modified: branches/SAMBA_3_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0/source/param/loadparm.c 2005-05-09 22:39:20 UTC (rev 6685)
+++ branches/SAMBA_3_0/source/param/loadparm.c 2005-05-10 01:32:43 UTC (rev 6686)
@@ -1267,13 +1267,13 @@
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;
More information about the samba-cvs
mailing list