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
nwid ''
does not work in ifconfig.wi0, as '' itseif (not the empty string)
will be passed as the SSID.
itojun
elif [ -f /etc/ifconfig.$int ]; then
echo -n " $int"
(while read args; do
if [ -n "`eval echo '$args'`" ] ; then
ifconfig $int $args
fi
done) < /etc/ifconfig.$int