summaryrefslogtreecommitdiffstats
path: root/perl-install/printerdrake.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-06 11:22:02 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-06 11:22:02 +0000
commit917df4eb4d05e28cd3057f5d981ec61d0fde7f60 (patch)
tree60beb9af9a507b25e373a684ed9861866f0dcc2c /perl-install/printerdrake.pm
parent7234c736143012bcc8440b7aae2124e0b6ba4628 (diff)
downloaddrakx-917df4eb4d05e28cd3057f5d981ec61d0fde7f60.tar
drakx-917df4eb4d05e28cd3057f5d981ec61d0fde7f60.tar.gz
drakx-917df4eb4d05e28cd3057f5d981ec61d0fde7f60.tar.bz2
drakx-917df4eb4d05e28cd3057f5d981ec61d0fde7f60.tar.xz
drakx-917df4eb4d05e28cd3057f5d981ec61d0fde7f60.zip
added a missing ifup lo, on some case (auto_install) it fails.
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r--perl-install/printerdrake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 4179b2989..219503292 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -1133,6 +1133,7 @@ sub install_spooler {
# start-up scripts?)
my ($printer, $in) = @_;
if (!$::testing) {
+ run_program::rooted($prefix, "ifconfig lo 127.0.0.1"); #- else cups will not be happy! and ifup lo don't run ?
if ($printer->{SPOOLER} eq "cups") {
if ((!$::testing) &&
(!printer::files_exist((qw(/usr/lib/cups/cgi-bin/printers.cgi