summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2004-01-08 16:22:36 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2004-01-08 16:22:36 +0000
commitd9cc42e3b69997a6c6946dc9b08ebe72445b6d8d (patch)
tree64d7749dc9721ab770580ced56384d3e242b66a4
parentdd84394b987327d808fda02903501e5065428364 (diff)
downloaddrakx-d9cc42e3b69997a6c6946dc9b08ebe72445b6d8d.tar
drakx-d9cc42e3b69997a6c6946dc9b08ebe72445b6d8d.tar.gz
drakx-d9cc42e3b69997a6c6946dc9b08ebe72445b6d8d.tar.bz2
drakx-d9cc42e3b69997a6c6946dc9b08ebe72445b6d8d.tar.xz
drakx-d9cc42e3b69997a6c6946dc9b08ebe72445b6d8d.zip
fix sagem net_cnx_up (thanks to QA team)
-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 cd0cbcd06..19550348e 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -281,16 +281,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
',