Changeset 30281


Ignore:
Timestamp:
2012-02-05T17:35:24+01:00 (6 years ago)
Author:
jow
Message:

[packages_10.03.2] xinetd: merge r28748, r28908

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

Legend:

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

    r25594 r30281  
    11#  
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=xinetd 
    1111PKG_VERSION:=2.3.14 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • branches/packages_10.03.2/net/xinetd/files/xinetd.init

    r15247 r30281  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
     3 
    34START=50 
    45 
    5 DEFAULT=/etc/default/xinetd 
    6 RUN_D=/var/run 
    7 PID_F=$RUN_D/xinetd.pid 
     6SERVICE_USE_PID=1 
    87 
    98start() { 
    10         [ -f $DEFAULT ] && . $DEFAULT 
    11         [ -d $RUN_D ] || mkdir -p $RUN_D 
    12         xinetd $OPTIONS 
     9        service_start /usr/sbin/xinetd -pidfile /var/run/xinetd.pid 
    1310} 
    1411 
    1512stop() { 
    16         [ -f $PID_F ] && kill $(cat $PID_F) 
     13        service_stop /usr/sbin/xinetd 
    1714} 
    1815 
Note: See TracChangeset for help on using the changeset viewer.