Dont know how to expand this variable, but maybe you should use arrays.
        
        to declare an array: 
                declare -a OnBootEth
        
        and to use:
                OnBootEth[ 0 ]="yes"
                OnBootEth[ 1 ]="no"
                if [ "yes" == OnBootEth[ 1 ]  ] then ...
                $index=2
                OnBootEth[ $index ]="yes"
                ...

And of course, man bash can give you many ideas.

Hope this can help
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to