From 135735c4d87a369c1d1efedb632bc1bc68b49e69 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 6 Sep 2001 11:23:28 +0000 Subject: start ifup lo before starting service cups. --- perl-install/printer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/printer.pm b/perl-install/printer.pm index c3f7ae47d..2df24661d 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -108,6 +108,7 @@ sub restart_service ($) { sub start_service ($) { my ($service) = @_; + 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/$service", "start") || die "Could not start $service!"; } @@ -656,7 +657,6 @@ sub poll_ppd_base { #- 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, "ifconfig lo 127.0.0.1"); #- else cups will not be happy! and ifup lo don't run ? start_service("cups"); my $driversthere = scalar(keys %thedb); foreach (1..60) { -- cgit v1.2.1