OK well I have my desired switch working thanks... but now I have another question
I have be able to keep configuration type information (such as IP address etc) in a seperate file, and then get this information from the file during bootup for use in setting up the boot processes (IP for network drivers)
So I have my 05_initsys script which contains the command to run my seperate configuration script. The variable which is set in the configuration script cannot be used back in 05_initsys however
I am guessing this is because when the config script is run it is a child process so that the main script cannot have the variable exported back to it ?
My question is... how can I extract information from a seperate file whilst running a script during startup?
One problem is that I don't have AWK on my embedded system....
Any ideas would be appreciated,
Thanks,
Ashley Rolleston