summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-08 16:48:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-08 16:48:00 +0000
commitcb72821b673bd77b5b136bac22fe8b38a9f5052b (patch)
tree65599bcb095f8edef908bdbf1a2f6ec45d0bd2c7
parent4853428679b16e13068729ef2fe091ac74ec2f3e (diff)
downloaddrakx-cb72821b673bd77b5b136bac22fe8b38a9f5052b.tar
drakx-cb72821b673bd77b5b136bac22fe8b38a9f5052b.tar.gz
drakx-cb72821b673bd77b5b136bac22fe8b38a9f5052b.tar.bz2
drakx-cb72821b673bd77b5b136bac22fe8b38a9f5052b.tar.xz
drakx-cb72821b673bd77b5b136bac22fe8b38a9f5052b.zip
fordward sagem net_cnx_up fix
-rw-r--r--perl-install/network/adsl.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index a0f273308..02d249b8f 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -277,16 +277,16 @@ LC_ALL=C LANG=C LANGUAGE=C LC_MESSAGES=C /usr/sbin/adsl-start $netc->{NET_DEVICE
', $netc->{adsltype}) } elsif ($adsl_type eq 'sagem') {
write_cnx_script($netc, 'adsl',
'/sbin/route del default
-/usr/sbin/adictrl -s
-INTERFACE=`/usr/sbin/adictrl -i`
-/sbin/ifconfig $INTERFACE 192.168.60.30 netmask 255.255.255.0 up
+/usr/sbin/adictrl -w
+#INTERFACE=`/usr/sbin/adictrl -i`
+#/sbin/ifconfig $INTERFACE 192.168.60.30 netmask 255.255.255.0 up
/usr/sbin/pppd file /etc/ppp/peers/adsl
',
'/usr/sbin/stopadsl
', $netc->{adsltype}) } elsif ($adsl_type eq 'sagem_dhcp') {
write_cnx_script($netc, 'adsl',
'/sbin/route del default
-/usr/sbin/adictrl -s
+/usr/sbin/adictrl -w
INTERFACE=`/usr/sbin/adictrl -i`
/sbin/dhcpcd $INTERFACE
',