Also, I think the script itself has some problems because if I run it in terminal I get several "if" bugs and "sleep 100" and "sleep 10" erors.
Code: #!/bin/sh if [ `route | awk '/au/ {print $1}'` = default ]; then
#!/bin/sh if [ `route | awk '/au/ {print $1}'` = default ]; then
Code: if [ `ifconfig gprs0 | awk -F " " '/s0/ {print $2}'` = Link ]; then
if [ `ifconfig gprs0 | awk -F " " '/s0/ {print $2}'` = Link ]; then