Tim Kientzle wrote:
[ ... simple script ... ]
> This doesn't work.  /etc/rc.conf does not export
> its variables to the environment.  It only sets them in the
> local shell.  Try the above where 'fred' is
>    #!/bin/sh
>    printenv
> and you'll see what I mean.

Someone else has already pointed out "set -e".


> rc.conf is _not_ a list of variable=value
> pairs.  It is a shell script that sets
> a number of shell variables.  Nothing
> less than a full-fledged implementation
> of /bin/sh is gauranteed to work in all
> cases.

Then this is broken, and needs to be fixed, not worked around by
adding the ability to interpret the code that shouldn't be there.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to