Changeset 31944


Ignore:
Timestamp:
2012-05-28T17:08:19+02:00 (6 years ago)
Author:
jow
Message:

[packages] ez-ipupdate: use network.sh to find device names

Location:
packages/net/ez-ipupdate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/ez-ipupdate/Makefile

    r29199 r31944  
    11#  
    2 # Copyright (C) 2006-2011 OpenWrt.org 
     2# Copyright (C) 2006-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=ez-ipupdate 
    1111PKG_VERSION:=3.0.11b8 
    12 PKG_RELEASE:=6 
     12PKG_RELEASE:=7 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz 
  • packages/net/ez-ipupdate/files/ez-ipupdate.hotplug

    r20783 r31944  
    1717                config_get interface $cfg interface 
    1818                [ "$interface" = "$INTERFACE" ] && { 
    19                     config_get dev "$INTERFACE" ifname 
     19                    network_get_device dev "$INTERFACE" || return 
    2020 
    2121                    config_get enabled $cfg enabled 
     
    7474        } 
    7575 
     76        . /lib/functions/network.sh 
    7677 
    77         include /lib/network 
    78         scan_interfaces 
    7978        config_load ddns 
    80  
    8179        config_foreach ddns ddns 
    8280        ;; 
Note: See TracChangeset for help on using the changeset viewer.