diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-29 22:43:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-29 22:43:33 +0000 |
commit | 2653652a0e4a6a599815a844903ad0aabe354be6 (patch) | |
tree | 88bd05fbf84035d77c55918496a343fba0cbc041 /perl-install/network/netconnect.pm | |
parent | cc811738967e8413a73da19380af65215822b1e2 (diff) | |
download | drakx-backup-do-not-use-2653652a0e4a6a599815a844903ad0aabe354be6.tar drakx-backup-do-not-use-2653652a0e4a6a599815a844903ad0aabe354be6.tar.gz drakx-backup-do-not-use-2653652a0e4a6a599815a844903ad0aabe354be6.tar.bz2 drakx-backup-do-not-use-2653652a0e4a6a599815a844903ad0aabe354be6.tar.xz drakx-backup-do-not-use-2653652a0e4a6a599815a844903ad0aabe354be6.zip |
convert some write_cnx_script() callers into set_cnx_script() ones
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 3f0cdc7b8..8b8e478b6 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -451,7 +451,7 @@ Take a look at http://www.linmodems.org"), pre => sub { $mouse ||= {}; $mouse->{device} ||= readlink "$::prefix/dev/mouse"; - write_cnx_script($netc, "modem", join("\n", if_($::testing, "/sbin/route del default"), "ifup ppp0"), + set_cnx_script($netc, "modem", join("\n", if_($::testing, "/sbin/route del default"), "ifup ppp0"), q(ifdown ppp0 killall pppd ), $netcnx->{type}); @@ -853,7 +853,7 @@ notation (for example, 1.2.3.4).")), $ethntf->{MII_NOT_SUPPORTED} = bool2yesno(!$hotplug); $ethntf->{HWADDR} = $track_network_id or delete $ethntf->{HWADDR}; $in->do_pkgs->install($netc->{dhcp_client}) if $auto_ip; - write_cnx_script($netc, "cable", qq( + set_cnx_script($netc, "cable", qq( /sbin/ifup $netc->{NET_DEVICE} ), qq( |