English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/busybox/files/hso.if-down

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3788 - (show annotations) (download)
Tue Aug 26 20:27:26 2008 UTC (5 years, 5 months ago) by markus
File size: 291 byte(s)
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