diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2002-09-11 14:42:58 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2002-09-11 14:42:58 +0000 |
commit | cd373c13d4e97d8a2f93f7653308a7c54f517720 (patch) | |
tree | 33a23126a0fdbfb8b5a2caeec83e1998ff85fcd4 /perl-install/printerdrake.pm | |
parent | 78cb266217da384c89d01d1c51cb8aa8d58cb7c8 (diff) | |
download | drakx-cd373c13d4e97d8a2f93f7653308a7c54f517720.tar drakx-cd373c13d4e97d8a2f93f7653308a7c54f517720.tar.gz drakx-cd373c13d4e97d8a2f93f7653308a7c54f517720.tar.bz2 drakx-cd373c13d4e97d8a2f93f7653308a7c54f517720.tar.xz drakx-cd373c13d4e97d8a2f93f7653308a7c54f517720.zip |
- Made printer::assure_device_is_available_for_cups() more reliable by
checking and retrying.
- Do not start the network when it is not configured.
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r-- | perl-install/printerdrake.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index dbb709190..e9dc78834 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -2581,6 +2581,9 @@ sub check_network { } } + # Do not try to start the network if it is not configured + if (!printer::files_exist("/etc/sysconfig/network-scripts/drakconnect_conf")) { return 0 } + # Second check: Is the network running? if (printer::network_running()) { return 1 } |