Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2003 14:45:27 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        wgrim@siue.edu
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Reading rc.conf from C programs? 
Message-ID:  <20030104144309.J17831@woozle.rinet.ru>
In-Reply-To: <1041540674.3e14a642d30b5@webmail1.isg.siue.edu>
References:  <4351.1041538966@critter.freebsd.dk> <1041540674.3e14a642d30b5@webmail1.isg.siue.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Jan 2003 wgrim@siue.edu wrote:

> I mean, I may certainly be missing something here, but I've never noticed
> rc.conf be anything other than a left hand value and a right hand value (often
> enclosed in quotes), with both sides being separated by an equal sign.

Nope. From our jail machine:

ALIASBASE=96
ALIASCNT=16
ALIASNO=0

while [ ${ALIASNO} -lt ${ALIASCNT} ]; do
        ALIASLAST=`expr ${ALIASBASE} + ${ALIASNO}`
        eval "ifconfig_rl0_alias${ALIASNO}='195.XX.YY.${ALIASLAST}/32'"
        ALIASNO=`expr ${ALIASNO} + 1`
done


Sincerely,
D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030104144309.J17831>