Changeset 30191


Ignore:
Timestamp:
2012-02-05T15:59:06+01:00 (6 years ago)
Author:
jow
Message:

[packages_10.03.2] aprx: merge r29048, r29199

Location:
branches/packages_10.03.2/net/aprx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.2/net/aprx/Makefile

    r22761 r30191  
    11# 
    2 # Copyright (C) 2008-2010 OpenWrt.org 
     2# Copyright (C) 2008-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1111PKG_REV:=421 
    1212PKG_VERSION:=2.00_r$(PKG_REV) 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=3 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    4646endef 
    4747 
     48define Package/aprx/conffiles 
     49/etc/aprx.conf 
     50endef 
     51 
    4852$(eval $(call BuildPackage,aprx)) 
  • branches/packages_10.03.2/net/aprx/files/aprx.init

    r11918 r30191  
    11#!/bin/sh /etc/rc.common 
    2 #Init script for aprx 
     2# Copyright (C) 2008-2011 OpenWrt.org 
    33 
    44START=99 
    5 APRX_BIN="/usr/sbin/aprx" 
    6 APRX_LOG_DIR="/var/log/aprx" 
    75 
    8 system_config() { 
    9         local cfg="$1" 
     6SERVICE_USE_PID=1 
    107 
    11         config_get hostname "$cfg" hostname 
     8start() { 
     9        mkdir -m 0755 -p /var/log/aprx 
     10        service_start /usr/sbin/aprx 
    1211} 
    1312 
    14  
    15 start() { 
    16         [ -x "$APRX_BIN" ] || return 1 
    17         [ -d "$APRX_LOG_DIR" ] || mkdir -p $APRX_LOG_DIR 
    18         $APRX_BIN 
    19         } 
    20  
    2113stop() { 
    22         killall aprx 
     14        service_stop /usr/sbin/aprx 
    2315} 
Note: See TracChangeset for help on using the changeset viewer.