From 230f81bf648f53ccc93fc88eb5dd6adc9e74583a Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Sun, 30 Jan 2000 01:00:00 +0000 Subject: 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 d3557b7f728e262d880bd7f7bbe20b853dbf165a) --- source3/param/loadparm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 7655b8978b..2b8040685c 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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; -- cgit