summaryrefslogtreecommitdiffstats
path: root/package/ppp/files/etc/hotplug.d/atm/20-usb-modem
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-02 16:47:16 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-05-02 16:47:16 +0000
commit6b41b93bc5392ff632b68700d32f226f4dbc4c6f (patch)
treec27181a7612a8e0607ed5be7c1f9354a6f77ccc6 /package/ppp/files/etc/hotplug.d/atm/20-usb-modem
parentcae51af965122b777e20baccc8779dcaaf022d95 (diff)
[package] ppp: rename 20-usb-modem to 20-atm-modem
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21303 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files/etc/hotplug.d/atm/20-usb-modem')
-rw-r--r--package/ppp/files/etc/hotplug.d/atm/20-usb-modem25
1 files changed, 0 insertions, 25 deletions
diff --git a/package/ppp/files/etc/hotplug.d/atm/20-usb-modem b/package/ppp/files/etc/hotplug.d/atm/20-usb-modem
deleted file mode 100644
index ab9e3b7f8..000000000
--- a/package/ppp/files/etc/hotplug.d/atm/20-usb-modem
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-if [ "$ACTION" = "add" ]; then
- include /lib/network
- scan_interfaces
-
- local found=0
- local ifc
- for ifc in $interfaces; do
- local up
- config_get_bool up "$ifc" up 0
-
- local proto
- config_get proto "$ifc" proto
-
- if [ "$proto" = "pppoa" ] && [ "$up" != 1 ]; then
- found=1
- ( sleep 1; ifup "$ifc" ) &
- fi
- done
-
- if [ "$found" != 1 ]; then
- logger "Found no matching interface for DSL device $DEVICENAME"
- fi
-fi