Create a pid file by default when starting xinetd (resolves #10342).
Signed-off-by: Stefan Agner <[email protected]>
Index: net/xinetd/files/xinetd.init
===================================================================
--- net/xinetd/files/xinetd.init (Revision 28720)
+++ net/xinetd/files/xinetd.init (Arbeitskopie)
@@ -9,7 +9,7 @@
start() {
[ -f $DEFAULT ] && . $DEFAULT
[ -d $RUN_D ] || mkdir -p $RUN_D
- xinetd $OPTIONS
+ xinetd -pidfile $PID_F $OPTIONS
}
stop() {
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel