Lines 87-93
Link Here
|
87 |
if [[ -x /usr/bin/xtoolwait ]]; then |
87 |
if [[ -x /usr/bin/xtoolwait ]]; then |
88 |
xtoolwait sleep 10 # hope it hasn't mapped yet |
88 |
xtoolwait sleep 10 # hope it hasn't mapped yet |
89 |
else |
89 |
else |
90 |
sleep 1 |
90 |
sleep 2 |
91 |
for ((i = 0; i < 40; i = i + 1)); do |
91 |
for ((i = 0; i < 40; i = i + 1)); do |
92 |
try_running 'ping()' && break || sleep 0.25 |
92 |
try_running 'ping()' && break || sleep 0.25 |
93 |
done |
93 |
done |
Lines 595-601
Link Here
|
595 |
sanitize_url() |
595 |
sanitize_url() |
596 |
{ |
596 |
{ |
597 |
# We only really need to filter '(' and ')' as these break openURL |
597 |
# We only really need to filter '(' and ')' as these break openURL |
598 |
echo $1 | sed -e's/(/%28/g' -e's/)/%29/g' |
598 |
echo $* | sed -e's/(/%28/g' -e's/)/%29/g' |
599 |
} |
599 |
} |
600 |
|
600 |
|
601 |
# Call the main sub, which is defined at the top of this script |
601 |
# Call the main sub, which is defined at the top of this script |