diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-23 12:55:42 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-23 12:55:42 +0000 |
commit | 30d91c3e71986c50b29dd782532e6c064a168bd3 (patch) | |
tree | 2be1ae6b053b15d83d20491b19e101f109b2b343 /perl-install/network/netconnect.pm | |
parent | 0b671cefde50a8d50cf5df3653ea923bc904ea15 (diff) | |
download | drakx-30d91c3e71986c50b29dd782532e6c064a168bd3.tar drakx-30d91c3e71986c50b29dd782532e6c064a168bd3.tar.gz drakx-30d91c3e71986c50b29dd782532e6c064a168bd3.tar.bz2 drakx-30d91c3e71986c50b29dd782532e6c064a168bd3.tar.xz drakx-30d91c3e71986c50b29dd782532e6c064a168bd3.zip |
hey, I suck, that's DIAL_ON_IFUP, not DIAL_ON_BOOT
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index c5266513e..254d0ed44 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -1181,14 +1181,14 @@ It is not necessary on most networks."), pre => sub { $intf->{ippp0} ||= { DEVICE => "ippp0" }; # we want the ifcfg-ippp0 file to be written @isdn_dial_methods = ({ name => N("Automatically at boot"), - ONBOOT => 1, DIAL_ON_BOOT => 1 }, + ONBOOT => 1, DIAL_ON_IFUP => 1 }, { name => N("By using Net Applet in the system tray"), - ONBOOT => 0, DIAL_ON_BOOT => 1 }, + ONBOOT => 0, DIAL_ON_IFUP => 1 }, { name => N("Manually (the interface would still be activated at boot)"), - ONBOOT => 1, DIAL_ON_BOOT => 0 }); + ONBOOT => 1, DIAL_ON_IFUP => 0 }); my $method = find { $_->{ONBOOT} eq text2bool($intf->{ippp0}{ONBOOT}) && - $_->{DIAL_ON_BOOT} eq text2bool($intf->{ippp0}{DIAL_ON_BOOT}) + $_->{DIAL_ON_IFUP} eq text2bool($intf->{ippp0}{DIAL_ON_IFUP}) } @isdn_dial_methods; #- use net_applet by default $isdn->{dial_method} = $method->{name} || $isdn_dial_methods[1]{name}; @@ -1199,7 +1199,7 @@ It is not necessary on most networks."), }, post => sub { my $method = find { $_->{name} eq $isdn->{dial_method} } @isdn_dial_methods; - $intf->{ippp0}{$_} = bool2yesno($method->{$_}) foreach qw(ONBOOT DIAL_ON_BOOT); + $intf->{ippp0}{$_} = bool2yesno($method->{$_}) foreach qw(ONBOOT DIAL_ON_IFUP); return $after_start_on_boot_step->(); }, }, |