|
@@ -17,7 +17,8 @@ find_wwan_iface() {
|
|
[ -z "$device" -a "$proto" = wwan ] || [ "$device" = "/dev/$DEVNAME" ] || return 0
|
|
[ -z "$device" -a "$proto" = wwan ] || [ "$device" = "/dev/$DEVNAME" ] || return 0
|
|
if [ "$ACTION" = add ]; then
|
|
if [ "$ACTION" = add ]; then
|
|
proto_set_available "$cfg" 1
|
|
proto_set_available "$cfg" 1
|
|
- else
|
|
|
|
|
|
+ fi
|
|
|
|
+ if [ "$ACTION" = remove ]; then
|
|
proto_set_available "$cfg" 0
|
|
proto_set_available "$cfg" 0
|
|
fi
|
|
fi
|
|
exit 0
|
|
exit 0
|