![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script doesn't work as expected when run on cron | RoshniMehta | Shell Programming and Scripting | 2 | 09-12-2008 07:53 AM |
| passing variable from bash to perl from bash script | arsidh | Shell Programming and Scripting | 10 | 06-04-2008 01:25 PM |
| unzip via bash startup script problems | easysnowboards | Shell Programming and Scripting | 0 | 05-26-2008 03:25 AM |
| cygwin bash startup command weirdness (part 1) | fabulous2 | UNIX for Dummies Questions & Answers | 1 | 05-19-2008 04:25 AM |
| executing script by cron doesnt give me expected result | anchal_khare | UNIX for Advanced & Expert Users | 1 | 09-12-2007 09:07 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Bash script on startup does not respond as expected
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|