diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/printer.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |