Changeset 29052


Ignore:
Timestamp:
2011-11-13T23:15:31+01:00 (5 years ago)
Author:
nico
Message:

packages/radsecproxy: use new service functions

Location:
packages/net/radsecproxy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/radsecproxy/Makefile

    r25667 r29052  
    11# 
    2 # Copyright (C) 2008-2009 OpenWrt.org 
     2# Copyright (C) 2008-20211 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=radsecproxy 
    1111PKG_VERSION:=1.4.2 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/radsecproxy/files/radsecproxy.init

    r13622 r29052  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006-2008 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33 
    44START=50 
    55 
    6 DEFAULT=/etc/default/radsecproxy 
    7 OPTIONS="" 
    8  
    96start() { 
    10         [ -f $DEFAULT ] && . $DEFAULT 
    11         /usr/sbin/radsecproxy $OPTIONS 
     7        service_start /usr/sbin/radsecproxy 
    128} 
    139 
    1410stop() { 
    15         killall radsecproxy 
     11        service_stop /usr/sbin/radsecproxy 
    1612} 
Note: See TracChangeset for help on using the changeset viewer.