I noticed the same thing with two of our systems with bge0:1, bge0:2,
bge0:3, etc    I implemented this quick fix below but as you say a best way
to fix it would be nice to have...

This logic state I must have an alpha character followed by a numeral...
i.e  hostname.hme0  would match as e0, but hme0:1 would not due to the
colon.   I suppose you could anchor the regular expression with a "$" to say
it must end with [A-z][0-9] but perhaps this is implied since it is
comparing a word to another word.


[EMAIL PROTECTED] cd /etc/init.d
[EMAIL PROTECTED] diff pfil pfil.orig
19,20c19,20
<               iflist="`echo /etc/hostname.*[A-z][0-9] 2>/dev/null`"
<               if [ "$iflist" != '/etc/hostname.*[A-z][0-9]' ] ; then
---
>               iflist="`echo /etc/hostname.*[0-9] 2>/dev/null`"
>               if [ "$iflist" != '/etc/hostname.*[0-9]' ] ; then
24c24
<                               for i in /etc/hostname.*[A-z][0-9]; do
---
>                               for i in /etc/hostname.*[0-9]; do
[EMAIL PROTECTED]



----- Original Message ----- 
From: "Dan D Niles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 28, 2004 2:14 PM
Subject: pfile start script (Solaris)


>
> The pfil start script on solaris is catching the logical interfaces
> (eg hme0:1).  It generates errors when it tries to run fixif on them.
>
> It still works fine, but the errors should be removed.  There are a
> number of ways that this could be fixed, but I'm not certain which
> would be best.
>
> Dan
>


Reply via email to