diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-29 09:59:17 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-29 09:59:17 +0000 |
commit | 6029b29daa3a3d3e814a38c441a1e24a23f6c3ec (patch) | |
tree | 11959a12b1914f3028cdbf5c7b0a06ee0d491e3c | |
parent | c8ce404ab436e913e5ed78ff54706b6c90cbffb8 (diff) | |
download | drakx-net-6029b29daa3a3d3e814a38c441a1e24a23f6c3ec.tar drakx-net-6029b29daa3a3d3e814a38c441a1e24a23f6c3ec.tar.gz drakx-net-6029b29daa3a3d3e814a38c441a1e24a23f6c3ec.tar.bz2 drakx-net-6029b29daa3a3d3e814a38c441a1e24a23f6c3ec.tar.xz drakx-net-6029b29daa3a3d3e814a38c441a1e24a23f6c3ec.zip |
do not write DEBUG=yes for hso devices
-rw-r--r-- | lib/network/connection/ppp.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/network/connection/ppp.pm b/lib/network/connection/ppp.pm index 5ece06e..6a81d6a 100644 --- a/lib/network/connection/ppp.pm +++ b/lib/network/connection/ppp.pm @@ -63,8 +63,9 @@ sub build_ifcfg_settings { if_($modemport, MODEMPORT => $modemport), LINESPEED => "115200", PERSIST => "yes", - DEBUG => "yes", DEFROUTE => "yes", + #- FIXME: move in network::connection::cellular or network::connection::ellular_card + if_($self->get_interface !~ /^hso/, DEBUG => "yes"), if_($self->{access}{cid}, CELLULAR_CID => $self->{access}{cid}), }); $self->SUPER::build_ifcfg_settings($settings); |