From b2a7fbea067fbbacf4d42cc28c881531f77a407f Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 30 Aug 2001 10:26:18 +0000 Subject: fixed foomatic failed (no lo up since ifup lo don't run) --- perl-install/printer.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/printer.pm') diff --git a/perl-install/printer.pm b/perl-install/printer.pm index e7ddcea46..140b8442f 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -602,12 +602,11 @@ sub get_descr_from_ppd { } sub poll_ppd_base { - #- before trying to poll the ppd database available to cups, we have to make sure #- the file /etc/cups/ppds.dat is no more modified. #- if cups continue to modify it (because it reads the ppd files available), the #- poll_ppd_base program simply cores :-) - run_program::rooted($prefix, "ifup lo"); #- else cups will not be happy! + run_program::rooted($prefix, "ifconfig lo 127.0.0.1"); #- else cups will not be happy! and ifup lo don't run ? run_program::rooted($prefix, "/etc/rc.d/init.d/cups start"); my $driversthere = scalar(keys %thedb); foreach (1..60) { -- cgit v1.2.1