Subject: "eval" in rc.d/network
To: None <email@example.com>
From: Jun-ichiro itojun Hagino <firstname.lastname@example.org>
Date: 09/14/2000 22:50:14
what is the reason for the use of "eval" in the following? just to
strip off the comments in /etc/ifconfig.IF? or there's some other use?
variables in $args will not be expanded due to singlequote around $args.
actually, I was confused by the fact
does not work in ifconfig.wi0, as '' itseif (not the empty string)
will be passed as the SSID.
elif [ -f /etc/ifconfig.$int ]; then
echo -n " $int"
(while read args; do
if [ -n "`eval echo '$args'`" ] ; then
ifconfig $int $args
done) < /etc/ifconfig.$int