Changeset 3574


Ignore:
Timestamp:
2006-04-01T22:23:17+02:00 (11 years ago)
Author:
nico
Message:

port changes in whiterussian ([3341]) to trunk.

Location:
trunk/openwrt/package/ez-ipupdate
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/ez-ipupdate/Makefile

    r3189 r3574  
    55PKG_NAME:=ez-ipupdate 
    66PKG_VERSION:=3.0.11b8 
    7 PKG_RELEASE:=1 
     7PKG_RELEASE:=2 
    88PKG_MD5SUM:=000211add4c4845ffa4211841bff4fb0 
    99 
     
    4747 
    4848$(IPKG_EZIPUPDATE): 
    49         install -m0755 -d $(IDIR_EZIPUPDATE)/etc/init.d $(IDIR_EZIPUPDATE)/etc/hotplug.d/iface $(IDIR_EZIPUPDATE)/usr/sbin/ 
    50         install -m0755 $(PKG_BUILD_DIR)/ez-ipupdate $(IDIR_EZIPUPDATE)/usr/sbin/ 
    51         install -m0755 files/$(PKG_NAME).init $(IDIR_EZIPUPDATE)/etc/init.d/S80$(PKG_NAME) 
    52         install -m0755 files/$(PKG_NAME).conf $(IDIR_EZIPUPDATE)/etc/ 
    53         install -m0755 files/$(PKG_NAME).hotplug $(IDIR_EZIPUPDATE)/etc/hotplug.d/iface/10-$(PKG_NAME) 
    54         $(STRIP) $(IDIR_EZIPUPDATE)/usr/sbin/* 
     49        install -d -m0755 $(IDIR_EZIPUPDATE)/etc 
     50        install -m0600 ./files/$(PKG_NAME).conf $(IDIR_EZIPUPDATE)/etc/ 
     51        install -d -m0755 $(IDIR_EZIPUPDATE)/etc/hotplug.d/iface 
     52        install -m0755 ./files/$(PKG_NAME).hotplug $(IDIR_EZIPUPDATE)/etc/hotplug.d/iface/10-$(PKG_NAME) 
     53        install -d -m0755 $(IDIR_EZIPUPDATE)/usr/sbin 
     54        install -m0755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_EZIPUPDATE)/usr/sbin/ 
     55        $(RSTRIP) $(IDIR_EZIPUPDATE) 
    5556        $(IPKG_BUILD) $(IDIR_EZIPUPDATE) $(PACKAGE_DIR) 
    5657 
  • trunk/openwrt/package/ez-ipupdate/files/ez-ipupdate.conf

    r2803 r3574  
    11service-type=zoneedit 
    22user=myname:mypassword 
    3 interface=WAN_IFNAME 
    43host=mydomain.com 
     4quiet 
    55 
    66# Do not change the lines below 
    7 cache-file=/tmp/ez-ipup 
     7cache-file=/tmp/ez-ipupdate.cache 
    88pid-file=/var/run/ez-ipupdate.pid 
  • trunk/openwrt/package/ez-ipupdate/files/ez-ipupdate.hotplug

    r3189 r3574  
    1 PGM=ez-ipupdate 
     1. /etc/functions.sh 
     2NAME=ez-ipupdate 
     3CONFIG=/etc/$NAME.conf 
     4COMMAND=/usr/sbin/$NAME 
    25[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && { 
    3         [ -e /etc/$PGM.conf ] && { 
    4                 [ -n $(grep "user=" /etc/$PGM.conf | cut -d= -f2 | cut -d: -f1) ] && [ -n $(grep "user=" /etc/$PGM.conf | cut -d= -f2 | cut -d: -f2) ] && /usr/sbin/$PGM -c /etc/$PGM.conf & 
    5         } 
     6        [ -x $COMMAND ] && [ -r $CONFIG ] && { 
     7                IFNAME=$(nvram get ${INTERFACE}_ifname) 
     8                $COMMAND -c $CONFIG -i $IFNAME 2>&1 | logger -t $NAME 
     9        } & 
    610} 
Note: See TracChangeset for help on using the changeset viewer.