wok-6.x rev 7635
bash: add a timer on sh link question.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Dec 13 14:30:20 2010 +0100 (2010-12-13) |
parents | 6dcea00d3e3b |
children | b34c3aa2fe16 |
files | bash/receipt |
line diff
1.1 --- a/bash/receipt Mon Dec 13 14:28:07 2010 +0100 1.2 +++ b/bash/receipt Mon Dec 13 14:30:20 2010 +0100 1.3 @@ -52,7 +52,8 @@ 1.4 echo "" 1.5 echo "**** Actual SH link : $sh" 1.6 echo "" 1.7 - echo -n "Do you want Bash for /bin/sh (yes/No) ? : "; read anser 1.8 + echo -n "Do you want Bash for /bin/sh (yes/No) ? : " 1.9 + read -t 30 anser 1.10 if [ "$anser" == "yes" ]; then 1.11 echo "" 1.12 echo -n "Removing sh link to make a new one pointing on /bin/bash..."