Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jan 2003 13:35:03 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        wgrim@siue.edu
Cc:        phk@FreeBSD.ORG, kientzle@acm.org, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Reading rc.conf from C programs?
Message-ID:  <3E14B087.EC43701B@mindspring.com>
References:  <4351.1041538966@critter.freebsd.dk> <1041540674.3e14a642d30b5@webmail1.isg.siue.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
wgrim@siue.edu wrote:
> Well, perhaps I'm missing something here, but can't you just tokenize the items
> in rc.conf using strtok after opening up the file in your C program?

You are missing something.  Someone violated policy, and put
shell code into rc.conf, instead of leaving it a name/value
pairs.

-- Terry

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?3E14B087.EC43701B>