1

ash busybox read command not working inside function....

view story
linux-howto

http://www.unix.com – I have a script that has to execute a read command in a function, this is in an ash busybox. The code is... Code: trapcatch ()  { echo "Ctl-c Detected, what do you want to do?"  echo "Please choose the number of one of the following options"  echo "1.  Jump past this Set"  echo "2.  Exit altogether"  echo "Any other key or no key just continues"    read -t 5 -p "Choose option 1-3 now : " KEYHIT    case $KEYHIT in  1*) echo "OK, I'll bypass this Set (HowTos)