Hi,
I have a bash script which I have referenced in the rc.local of my fedora linux OS. However it doesnt respond the same as when run in terminal from fedora.
The bash script has a series of interactive questions that require user input as shown:
#!/bin/bash
echo "Do you want to use fixed IP address?"
read RESPONSE
...
When this script is run from terminal with Fedora i type in "yes" and the response is recorded as expected in varaible.
However the same script on bootup requires me to input the same thing twice on further examination the first input I type is irrelevant?!? Any ideas why it responds differently on bootup?
Cheers