Parent Directory
|
Revision Log
added basic interface scripts to manage Option HSUPA interface 'hso0'
| 1 | #!/bin/sh |
| 2 | |
| 3 | [ "$IFACE" == "hso0" ] || exit 0 |
| 4 | |
| 5 | [ -f /tmp/hso-connect ] || exit 0 |
| 6 | |
| 7 | PID=$(cat /tmp/hso-connect) |
| 8 | ps | grep "$PID" | grep -q hso-connect.sh && kill "$PID" |
| 9 | comgt -s -d /dev/usb/tth/0 /etc/comgt/hsodisconnect.comgt |
| 10 | rm -f /tmp/hso-connect |
| 11 | ip address flush hso0 |
| 12 | ip link set hso0 down |
| root@freewrt.org:443 | ViewVC Help |
| Powered by ViewVC 1.1.20 |