summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-11-16 15:35:17 +0000
committerOlivier Blin <oblin@mandriva.org>2005-11-16 15:35:17 +0000
commitc478bcbf041cca370e1d13e4833b748d4f5525c3 (patch)
treec431abe421104a687b81d9ebe95e9ef779e10129
parent00e82f0c580fbe103517e7fe1a4e56479bc08699 (diff)
downloaddrakx-backup-do-not-use-c478bcbf041cca370e1d13e4833b748d4f5525c3.tar
drakx-backup-do-not-use-c478bcbf041cca370e1d13e4833b748d4f5525c3.tar.gz
drakx-backup-do-not-use-c478bcbf041cca370e1d13e4833b748d4f5525c3.tar.bz2
drakx-backup-do-not-use-c478bcbf041cca370e1d13e4833b748d4f5525c3.tar.xz
drakx-backup-do-not-use-c478bcbf041cca370e1d13e4833b748d4f5525c3.zip
don't screw up eagle-usb devices if the firmware is already loaded
-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 72c16a641..fa78937ca 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -143,7 +143,7 @@ noaccomp),
sagem =>
{
modules => [ qw(eagle-usb) ],
- start => 'grep -qs eagle-usb /var/run/usb/* || /sbin/eaglectrl -d',
+ start => '/sbin/eaglectrl -i >/dev/null 2>/dev/null || /sbin/eaglectrl -d',
stop => "/usr/bin/killall pppoa",
get_intf => '/sbin/eaglectrl -i',
server => {