packages/xinetd: use new service functions
[openwrt/svn-archive/archive.git] / net / xinetd / files / xinetd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=50
5
6 SERVICE_USE_PID=1
7
8 start() {
9 service_start /usr/sbin/xinetd -pidfile /var/run/xinetd.pid
10 }
11
12 stop() {
13 service_stop /usr/sbin/xinetd
14 }
15