Created
January 17, 2017 06:56
-
-
Save Valindo/de90e53fa3d1aa4f0e8aa8d5ed0ea498 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
start() { | |
sudo usb_modeswitch -W -I -v 12d1 -p 1446 -M 55534243123456780000000000000011063000000100010000000000000000 | |
sudo ifdown wlan0 | |
sleep 10 | |
while : ; do | |
sudo wvdial | |
sleep 900 | |
done | |
} | |
stop(){ | |
} | |
case $1 in | |
start|stop) "$1" ;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment