Changeset 28748


Ignore:
Timestamp:
2011-11-04T13:28:17+01:00 (6 years ago)
Author:
nico
Message:

packages/xinetd: fix initscript (closes: #10342)

Create a pid file by default when starting xinetd (resolves #10342).

Signed-off-by: Stefan Agner <stefan@…>

Location:
packages/net/xinetd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/xinetd/Makefile

    r25594 r28748  
    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:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/xinetd/files/xinetd.init

    r15247 r28748  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33START=50 
    44 
     
    1010        [ -f $DEFAULT ] && . $DEFAULT 
    1111        [ -d $RUN_D ] || mkdir -p $RUN_D 
    12         xinetd $OPTIONS 
     12        xinetd -pidfile $PID_F $OPTIONS 
    1313} 
    1414 
Note: See TracChangeset for help on using the changeset viewer.