> Likewise, I never noticed I was missing localhost route.  :>
> The question now, is this a kernel bug, or are only eth devices adding
> their own routes?

psst!  :)

/me points to the Networking Changes in the Documentation/Changes file

> It is late, and I'm not going to test this, but would this do the trick:
>  if [ `uname -r | head -c3` = 2.0 -a "${DEVICE}" != "lo" ] ; then

here's another method

  declare -i version=`gawk -F. '{print $2} /proc/version'`

  if [ $version -eq 0 ]; then
     <2.0 stuffs>
     fi

the "declare -i" forces $version to be evaluated mathmatically as an
integer.

-d
-- 
  Look, Windows 98  Buy, lemmings, buy!  MCSE, Must Consult Someone Experienced
__ (c) 1998 David Ford.  Redistribution via the Microsoft Network is prohibited
\/  for linux-kernel: please read linux/Documentation/* before posting problems


-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to