summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-04 16:17:34 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-04 16:17:34 +0000
commit928e76cd6d935cd528ccc03fc13edc6cc9e865c9 (patch)
tree73c0bb3a4377cddb6dd14e04ebce903e5c073031
parent9f45c2a42513a0118a791bf451bff8f188bcaa3a (diff)
downloaddrakx-backup-do-not-use-928e76cd6d935cd528ccc03fc13edc6cc9e865c9.tar
drakx-backup-do-not-use-928e76cd6d935cd528ccc03fc13edc6cc9e865c9.tar.gz
drakx-backup-do-not-use-928e76cd6d935cd528ccc03fc13edc6cc9e865c9.tar.bz2
drakx-backup-do-not-use-928e76cd6d935cd528ccc03fc13edc6cc9e865c9.tar.xz
drakx-backup-do-not-use-928e76cd6d935cd528ccc03fc13edc6cc9e865c9.zip
do not reload firmware on eagle-usb modems if already done
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 9748e16d0..918f573b1 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -189,7 +189,7 @@ noaccomp),
sagem =>
{
modules => [ qw(eagle-usb) ],
- start => '/sbin/eaglectrl -d',
+ start => 'grep -qs eagle-usb /var/run/usb/* || /sbin/eaglectrl -d',
stop => "/usr/bin/killall pppoa",
get_intf => '/sbin/eaglectrl -i',
server => {