diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-12-18 14:10:14 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-12-18 14:10:14 +0000 |
commit | 4d815283d89ede0f91c4134c680bc2c129d35173 (patch) | |
tree | 0d9d536b01ed3a4be4fa3fc6ebafe89223b6e448 | |
parent | c5a36112bb49edf197e1b26fb0cfc1fdef2a2b3f (diff) | |
download | drakx-backup-do-not-use-4d815283d89ede0f91c4134c680bc2c129d35173.tar drakx-backup-do-not-use-4d815283d89ede0f91c4134c680bc2c129d35173.tar.gz drakx-backup-do-not-use-4d815283d89ede0f91c4134c680bc2c129d35173.tar.bz2 drakx-backup-do-not-use-4d815283d89ede0f91c4134c680bc2c129d35173.tar.xz drakx-backup-do-not-use-4d815283d89ede0f91c4134c680bc2c129d35173.zip |
don't overwrite ONBOOT setting when writing adsl configuration (#20089)
-rw-r--r-- | perl-install/network/adsl.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index fa78937ca..3768c171b 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -291,8 +291,9 @@ user "$net->{adsl}{login}" DEVICE => 'ppp0', TYPE => 'ADSL', METRIC => $metric, - ONBOOT => 'yes', #- will be modified later in netconnect if requested }) unless member($adsl_type, qw(static dhcp)); + #- don't overwrite ONBOOT setting, it may have been handled earlier in netconnect + $net->{ifcfg}{ppp0}{ONBOOT} ||= 'yes'; #- remove file used with sagem for dhcp/static connections unlink("$::prefix/etc/sysconfig/network-scripts/ifcfg-sagem"); |