Hey, thanks! I was wondering why that had broken but didn't have any
time to hunt it down...
On Fri, 2002-11-15 at 13:07, Teemu Torma wrote:
> On Friday 15 November 2002 21:26, Christian Dysthe wrote:
> > Does anyone know what may be wrong with the new scripts, because if
> > it's something "easily editable" I would rather have the updated
> > scripts installd than a mix of two versions of initscripts.
>
> The grep statement in check_link_down does not work. I just commented
> it out...
>
> --- /etc/sysconfig/network-scripts/network-functions.~1~
> 2002-10-30 22:05:12.000000000 +0100
> +++ /etc/sysconfig/network-scripts/network-functions 2002-11-06
> 22:37:06.000000000 +0100
> @@ -131,9 +131,9 @@
> check_link_down ()
> {
> if [ -n "${IS_WIRELESS}" ]; then
> - if [ -f /proc/net/wireless ]; then
> - grep -q -E "$1: +[09]+ +0." /proc/net/wireless && return 0
> - fi
> + #if [ -f /proc/net/wireless ]; then
> + #grep -q -E "$1: +[09]+ +0." /proc/net/wireless && return 0
> + #fi
> return 1
> elif [ -z "${MII_NOT_SUPPORTED}" -a -x /sbin/mii-tool ]; then
> LC_ALL=C ip link show $1 2>/dev/null| grep -q UP || ip link set
> $1 up >/dev/null 2>&1
>
> Teemu
>
>
> ----
>
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
--
Jack Coates
Monkeynoodle: A Scientific Venture...
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com