On Fri, Nov 15, 2002 at 09:52:37PM +0000, Tommy Wareing wrote: > On Fri, Nov 15, 2002 at 10:07:28PM +0100, Teemu Torma wrote: > > The grep statement in check_link_down does not work. I just commented > > it out... > > - grep -q -E "$1: +[09]+ +0." /proc/net/wireless && return 0 > > My /proc/net/wireless contains: > > Inter-| sta-| Quality | Discarded packets | Missed > face | tus | link level noise | nwid crypt frag retry misc | beacon > eth1: 0000 74. 228. 154. 0 44 0 0 139 0 > > The eth1: line fails to match the 74. against the "0." of the > regex. Which hopefully helps somebody out. Todd?
However, while check_link_down is running, the line is: eth1: 0000 0. 154. 154. 0 0 0 0 0 0 which does match. And kills the link :-( -- Tommy
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
