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

packages/radsecproxy: use new service functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.