mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
made "enable" and "disable" the default "lpresume" and "lppause" commands
for SYSV instead of the lpc commands (since these are BSD commands)
I still don't like the default "lppause" and "lpresume" commands for
SYSV since these seem to be SUN specific additions to the lp command
(at least I don't find them in IRIX and HPUX). I think this should be
inside an ifdef SUN??? but I'm not sure what the define should be so
I have left it for now.
(This used to be commit d3557b7f72
)
This commit is contained in:
parent
21df01ff7d
commit
230f81bf64
@ -1076,14 +1076,11 @@ static void init_locals(void)
|
||||
string_set(&sDefault.szLpqcommand,"lpstat -o%p");
|
||||
string_set(&sDefault.szLprmcommand,"cancel %p-%j");
|
||||
string_set(&sDefault.szPrintcommand,"lp -c -d%p %s; rm %s");
|
||||
#ifdef HPUX
|
||||
string_set(&sDefault.szQueuepausecommand, "disable %p");
|
||||
string_set(&sDefault.szQueueresumecommand, "enable %p");
|
||||
#else /* SYSV */
|
||||
#ifndef HPUX
|
||||
string_set(&sDefault.szLppausecommand,"lp -i %p-%j -H hold");
|
||||
string_set(&sDefault.szLpresumecommand,"lp -i %p-%j -H resume");
|
||||
string_set(&sDefault.szQueuepausecommand, "lpc stop %p");
|
||||
string_set(&sDefault.szQueueresumecommand, "lpc start %p");
|
||||
#endif /* SYSV */
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user