From fa3b8c3b5b952786cda373380d3d412f6e76f063 Mon Sep 17 00:00:00 2001 From: mbm Date: Thu, 10 May 2007 10:38:53 +0000 Subject: [PATCH] START/STOP values must be specified in the init script git-svn-id: svn://svn.openwrt.org/openwrt/packages@7164 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- admin/osiris/files/osirisd.init | 1 + admin/syslog-ng/files/syslog-ng.init | 1 + ipv6/aiccu/files/aiccu.init | 1 + ipv6/mrd6/files/mrd6.init | 1 + ipv6/radvd/files/radvd.init | 1 + lang/php4/files/php.init | 1 + libs/avahi/files/avahi-daemon.init | 1 + libs/howl/files/autoipd.init | 1 + libs/howl/files/mDNSResponder.init | 1 + libs/howl/files/nifd.init | 1 + libs/net-snmp/files/snmpd.init | 1 + libs/postgresql/files/postgresql.init | 1 + multimedia/peercast/files/peercast.init | 1 + net/asterisk/files/asterisk.init | 1 + net/bind/files/named.init | 1 + net/bitlbee/files/bitlbee.init | 1 + net/chillispot/files/chillispot.init | 1 + net/click/files/roofnet.init | 1 + net/cups/files/cupsd.init | 1 + net/dhcp-forwarder/files/dhcp-fwd.init | 1 + net/ez-ipupdate/files/ez-ipupdate.init | 1 + net/freeradius/files/radiusd.init | 1 + net/frickin/files/frickin.init | 1 + net/gmediaserver/files/gmediaserver.init | 1 + net/lighttpd/files/lighttpd.init | 1 + net/maradns/files/maradns.init | 1 + net/miau/files/miau.init | 1 + net/mini_httpd/files/mini_httpd.init | 1 + net/miredo/files/miredo-server.init | 1 + net/miredo/files/miredo.init | 1 + net/netperf/files/netserver.init | 1 + net/nfs-server/files/nfsd.init | 1 + net/olsrd/files/olsrd.init | 1 + net/openssh/files/sshd.init | 1 + net/p910nd/files/p910nd.init | 1 + net/parprouted/files/parprouted.init | 1 + net/peerguardian/files/peerguardian.init | 1 + net/pmacct/files/nfacctd.init | 1 + net/pmacct/files/pmacctd.init | 1 + net/privoxy/files/privoxy.init | 1 + net/pure-ftpd/files/pure-ftpd.init | 1 + net/rarpd/files/rarpd.init | 1 + net/rp-pppoe/files/pppoe-client.init | 1 + net/rp-pppoe/files/pppoe-relay.init | 1 + net/rp-pppoe/files/pppoe-server.init | 1 + net/samba/files/samba.init | 1 + net/scanlogd/files/scanlogd.init | 1 + net/siproxd/files/siproxd.init | 1 + net/srelay/files/srelay.init | 1 + net/tftp-hpa/files/tftpd-hpa.init | 2 ++ net/tinyproxy/files/tinyproxy.init | 1 + net/tor/files/tor.init | 1 + net/ulogd/files/ulogd.init | 1 + net/updatedd/files/ddns.init | 1 + net/vrrpd/files/vrrpd.init | 1 + net/vsftpd/files/vsftpd.init | 2 ++ net/wifidog/files/wifidog.init | 1 + net/xinetd/files/xinetd.init | 1 + sound/mt-daapd/files/mt-daapd.init | 1 + 59 files changed, 61 insertions(+) diff --git a/admin/osiris/files/osirisd.init b/admin/osiris/files/osirisd.init index 9854f3431..9916567b8 100644 --- a/admin/osiris/files/osirisd.init +++ b/admin/osiris/files/osirisd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=osirisd DEFAULT=/etc/default/$BIN diff --git a/admin/syslog-ng/files/syslog-ng.init b/admin/syslog-ng/files/syslog-ng.init index 238c11726..06672e87d 100755 --- a/admin/syslog-ng/files/syslog-ng.init +++ b/admin/syslog-ng/files/syslog-ng.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { [ -f /etc/syslog-ng/syslog-ng.conf ] || { diff --git a/ipv6/aiccu/files/aiccu.init b/ipv6/aiccu/files/aiccu.init index 9f77e19d8..a82bc376d 100644 --- a/ipv6/aiccu/files/aiccu.init +++ b/ipv6/aiccu/files/aiccu.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { aiccu start diff --git a/ipv6/mrd6/files/mrd6.init b/ipv6/mrd6/files/mrd6.init index 9d6519949..70b88fb8e 100755 --- a/ipv6/mrd6/files/mrd6.init +++ b/ipv6/mrd6/files/mrd6.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { /sbin/lsmod | grep ipv6 > /dev/null diff --git a/ipv6/radvd/files/radvd.init b/ipv6/radvd/files/radvd.init index 99e2ab2e1..29d8c06d6 100644 --- a/ipv6/radvd/files/radvd.init +++ b/ipv6/radvd/files/radvd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { echo 1 > /proc/sys/net/ipv6/conf/all/forwarding diff --git a/lang/php4/files/php.init b/lang/php4/files/php.init index 9cf369169..373f39699 100644 --- a/lang/php4/files/php.init +++ b/lang/php4/files/php.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { $BIN -b $PORT & diff --git a/libs/avahi/files/avahi-daemon.init b/libs/avahi/files/avahi-daemon.init index f8bee6709..9a6acd02b 100644 --- a/libs/avahi/files/avahi-daemon.init +++ b/libs/avahi/files/avahi-daemon.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=avahi-daemon DEFAULT=/etc/default/$BIN diff --git a/libs/howl/files/autoipd.init b/libs/howl/files/autoipd.init index 796715348..e68ee776c 100644 --- a/libs/howl/files/autoipd.init +++ b/libs/howl/files/autoipd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/autopid RUN_D=/var/run diff --git a/libs/howl/files/mDNSResponder.init b/libs/howl/files/mDNSResponder.init index 415caae7d..a1f65084f 100644 --- a/libs/howl/files/mDNSResponder.init +++ b/libs/howl/files/mDNSResponder.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/mDNSResponder RUN_D=/var/run diff --git a/libs/howl/files/nifd.init b/libs/howl/files/nifd.init index 59a3f3bc3..d650648e5 100644 --- a/libs/howl/files/nifd.init +++ b/libs/howl/files/nifd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/nifd RUN_D=/var/run diff --git a/libs/net-snmp/files/snmpd.init b/libs/net-snmp/files/snmpd.init index d3206e722..269c8793b 100644 --- a/libs/net-snmp/files/snmpd.init +++ b/libs/net-snmp/files/snmpd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/snmpd LIB_D=/var/lib/snmp diff --git a/libs/postgresql/files/postgresql.init b/libs/postgresql/files/postgresql.init index 5d318a390..be29f1615 100755 --- a/libs/postgresql/files/postgresql.init +++ b/libs/postgresql/files/postgresql.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { config_load "postgresql" diff --git a/multimedia/peercast/files/peercast.init b/multimedia/peercast/files/peercast.init index efe47ad46..033beb04c 100644 --- a/multimedia/peercast/files/peercast.init +++ b/multimedia/peercast/files/peercast.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 PID_F=/var/run/peercast.pid diff --git a/net/asterisk/files/asterisk.init b/net/asterisk/files/asterisk.init index 00a4c8b1c..378897875 100644 --- a/net/asterisk/files/asterisk.init +++ b/net/asterisk/files/asterisk.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/asterisk OPTIONS="" diff --git a/net/bind/files/named.init b/net/bind/files/named.init index 459e0834a..99b8e0b3f 100755 --- a/net/bind/files/named.init +++ b/net/bind/files/named.init @@ -1,4 +1,5 @@ #!/bin/sh /etc/rc.common +START=50 config_file=/etc/bind/named.conf pid_file=/var/run/named.pid diff --git a/net/bitlbee/files/bitlbee.init b/net/bitlbee/files/bitlbee.init index 95c5f59d3..d89ef3cac 100755 --- a/net/bitlbee/files/bitlbee.init +++ b/net/bitlbee/files/bitlbee.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { mkdir -p /var/lib/bitlbee diff --git a/net/chillispot/files/chillispot.init b/net/chillispot/files/chillispot.init index 5d92ffe0c..bf0e3f648 100644 --- a/net/chillispot/files/chillispot.init +++ b/net/chillispot/files/chillispot.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 RUN_D=/var/run PID_F=$RUN_D/chilli.pid diff --git a/net/click/files/roofnet.init b/net/click/files/roofnet.init index 256e2abbe..bc36394d9 100755 --- a/net/click/files/roofnet.init +++ b/net/click/files/roofnet.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { killall -q click diff --git a/net/cups/files/cupsd.init b/net/cups/files/cupsd.init index c53c16920..c98181347 100644 --- a/net/cups/files/cupsd.init +++ b/net/cups/files/cupsd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { mkdir -p /tmp/cups diff --git a/net/dhcp-forwarder/files/dhcp-fwd.init b/net/dhcp-forwarder/files/dhcp-fwd.init index db1cb3a7c..e3e0caa03 100644 --- a/net/dhcp-forwarder/files/dhcp-fwd.init +++ b/net/dhcp-forwarder/files/dhcp-fwd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 LOG_D=/var/log RUN_D=/var/run diff --git a/net/ez-ipupdate/files/ez-ipupdate.init b/net/ez-ipupdate/files/ez-ipupdate.init index e0f43817b..0cea30114 100644 --- a/net/ez-ipupdate/files/ez-ipupdate.init +++ b/net/ez-ipupdate/files/ez-ipupdate.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=ez-ipupdate CONF=/etc/$BIN.conf diff --git a/net/freeradius/files/radiusd.init b/net/freeradius/files/radiusd.init index bd1c552a4..df4906911 100644 --- a/net/freeradius/files/radiusd.init +++ b/net/freeradius/files/radiusd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/radiusd LOG_D=/var/log/radius diff --git a/net/frickin/files/frickin.init b/net/frickin/files/frickin.init index 73f183e6b..c6fbb48a4 100644 --- a/net/frickin/files/frickin.init +++ b/net/frickin/files/frickin.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=frickin DEFAULT=/etc/default/$BIN diff --git a/net/gmediaserver/files/gmediaserver.init b/net/gmediaserver/files/gmediaserver.init index f9e3705ca..dba14e4f2 100644 --- a/net/gmediaserver/files/gmediaserver.init +++ b/net/gmediaserver/files/gmediaserver.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=gmediaserver DEFAULT=/etc/default/$BIN diff --git a/net/lighttpd/files/lighttpd.init b/net/lighttpd/files/lighttpd.init index fe0ca2290..550d5ad16 100644 --- a/net/lighttpd/files/lighttpd.init +++ b/net/lighttpd/files/lighttpd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=lighttpd DEFAULT=/etc/default/$BIN diff --git a/net/maradns/files/maradns.init b/net/maradns/files/maradns.init index ef2be3f3e..1548cbcc5 100644 --- a/net/maradns/files/maradns.init +++ b/net/maradns/files/maradns.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { [ -d /etc/maradns ] || mkdir -p /etc/maradns diff --git a/net/miau/files/miau.init b/net/miau/files/miau.init index 892c23c09..1f5fb7449 100755 --- a/net/miau/files/miau.init +++ b/net/miau/files/miau.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT="/etc/default/miau" OPTIONS="-d /etc/miau/" diff --git a/net/mini_httpd/files/mini_httpd.init b/net/mini_httpd/files/mini_httpd.init index 430f21ee7..4e0a3a73f 100644 --- a/net/mini_httpd/files/mini_httpd.init +++ b/net/mini_httpd/files/mini_httpd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=mini_httpd DEFAULT=/etc/default/$BIN diff --git a/net/miredo/files/miredo-server.init b/net/miredo/files/miredo-server.init index d8c3d4c30..4d51370f0 100644 --- a/net/miredo/files/miredo-server.init +++ b/net/miredo/files/miredo-server.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=miredo-server DEFAULT=/etc/default/$BIN diff --git a/net/miredo/files/miredo.init b/net/miredo/files/miredo.init index dbf46a6d6..90e70c48b 100644 --- a/net/miredo/files/miredo.init +++ b/net/miredo/files/miredo.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=miredo DEFAULT=/etc/default/$BIN diff --git a/net/netperf/files/netserver.init b/net/netperf/files/netserver.init index ee2b8ad10..6d3ccddde 100644 --- a/net/netperf/files/netserver.init +++ b/net/netperf/files/netserver.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { /usr/bin/netserver diff --git a/net/nfs-server/files/nfsd.init b/net/nfs-server/files/nfsd.init index 7956e5e91..00b5edef4 100644 --- a/net/nfs-server/files/nfsd.init +++ b/net/nfs-server/files/nfsd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { /usr/sbin/portmap diff --git a/net/olsrd/files/olsrd.init b/net/olsrd/files/olsrd.init index 572ea9e11..cfab3825e 100644 --- a/net/olsrd/files/olsrd.init +++ b/net/olsrd/files/olsrd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=olsrd DEFAULT=/etc/default/olsrd diff --git a/net/openssh/files/sshd.init b/net/openssh/files/sshd.init index 617d4370c..db9910041 100755 --- a/net/openssh/files/sshd.init +++ b/net/openssh/files/sshd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { for type in rsa dsa; do { diff --git a/net/p910nd/files/p910nd.init b/net/p910nd/files/p910nd.init index 05c675a52..cc14fcbcb 100644 --- a/net/p910nd/files/p910nd.init +++ b/net/p910nd/files/p910nd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/p910nd RUN_D=/var/run diff --git a/net/parprouted/files/parprouted.init b/net/parprouted/files/parprouted.init index b0911b6b8..fe794405e 100755 --- a/net/parprouted/files/parprouted.init +++ b/net/parprouted/files/parprouted.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=parprouted DEFAULT=/etc/default/$BIN diff --git a/net/peerguardian/files/peerguardian.init b/net/peerguardian/files/peerguardian.init index 45f151152..3da3aa4b2 100644 --- a/net/peerguardian/files/peerguardian.init +++ b/net/peerguardian/files/peerguardian.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=pgtext DEFAULT=/etc/default/$BIN diff --git a/net/pmacct/files/nfacctd.init b/net/pmacct/files/nfacctd.init index ac2d12e90..e1113571c 100644 --- a/net/pmacct/files/nfacctd.init +++ b/net/pmacct/files/nfacctd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=nfacctd DEFAULT=/etc/default/$BIN diff --git a/net/pmacct/files/pmacctd.init b/net/pmacct/files/pmacctd.init index 649832468..a57c5817b 100644 --- a/net/pmacct/files/pmacctd.init +++ b/net/pmacct/files/pmacctd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=pmacctd DEFAULT=/etc/default/$BIN diff --git a/net/privoxy/files/privoxy.init b/net/privoxy/files/privoxy.init index 46a46c7f3..85479b338 100644 --- a/net/privoxy/files/privoxy.init +++ b/net/privoxy/files/privoxy.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 CFG_F=/etc/privoxy/config RUN_D=/var/run diff --git a/net/pure-ftpd/files/pure-ftpd.init b/net/pure-ftpd/files/pure-ftpd.init index 5f1fe2d91..8ac070343 100644 --- a/net/pure-ftpd/files/pure-ftpd.init +++ b/net/pure-ftpd/files/pure-ftpd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=pure-ftpd DEFAULT=/etc/default/$BIN diff --git a/net/rarpd/files/rarpd.init b/net/rarpd/files/rarpd.init index bba2c858e..f973cc8dc 100644 --- a/net/rarpd/files/rarpd.init +++ b/net/rarpd/files/rarpd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 RARPD=/usr/sbin/rarpd DEFAULT=/etc/default/rarpd diff --git a/net/rp-pppoe/files/pppoe-client.init b/net/rp-pppoe/files/pppoe-client.init index 7854cf65e..93654dd77 100644 --- a/net/rp-pppoe/files/pppoe-client.init +++ b/net/rp-pppoe/files/pppoe-client.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { pppoe-start diff --git a/net/rp-pppoe/files/pppoe-relay.init b/net/rp-pppoe/files/pppoe-relay.init index 21e0c44c8..92ddd0c17 100644 --- a/net/rp-pppoe/files/pppoe-relay.init +++ b/net/rp-pppoe/files/pppoe-relay.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/pppoe-relay diff --git a/net/rp-pppoe/files/pppoe-server.init b/net/rp-pppoe/files/pppoe-server.init index 5e24be21f..16d8a172b 100644 --- a/net/rp-pppoe/files/pppoe-server.init +++ b/net/rp-pppoe/files/pppoe-server.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/pppoe-server diff --git a/net/samba/files/samba.init b/net/samba/files/samba.init index 00c7da7fd..047f7b8ba 100644 --- a/net/samba/files/samba.init +++ b/net/samba/files/samba.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/samba RUN_D=/var/run/samba diff --git a/net/scanlogd/files/scanlogd.init b/net/scanlogd/files/scanlogd.init index 541b1026a..8c6f38298 100755 --- a/net/scanlogd/files/scanlogd.init +++ b/net/scanlogd/files/scanlogd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { mkdir -p `grep "^scanlogd:" /etc/passwd | cut -d: -f6` diff --git a/net/siproxd/files/siproxd.init b/net/siproxd/files/siproxd.init index 9ae569b66..eaec5510e 100644 --- a/net/siproxd/files/siproxd.init +++ b/net/siproxd/files/siproxd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=siproxd DEFAULT=/etc/default/$BIN diff --git a/net/srelay/files/srelay.init b/net/srelay/files/srelay.init index e3de14439..6d2343888 100755 --- a/net/srelay/files/srelay.init +++ b/net/srelay/files/srelay.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { if [ -f /etc/srelay.conf ];then diff --git a/net/tftp-hpa/files/tftpd-hpa.init b/net/tftp-hpa/files/tftpd-hpa.init index 0970da278..1b361d932 100644 --- a/net/tftp-hpa/files/tftpd-hpa.init +++ b/net/tftp-hpa/files/tftpd-hpa.init @@ -1,5 +1,7 @@ #!/bin/sh /etc/rc.common +START=50 + RUN_D=/var/tftpd-hpa start() { diff --git a/net/tinyproxy/files/tinyproxy.init b/net/tinyproxy/files/tinyproxy.init index 1347bfc88..2d8cd6d0b 100644 --- a/net/tinyproxy/files/tinyproxy.init +++ b/net/tinyproxy/files/tinyproxy.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=tinyproxy DEFAULT=/etc/default/$BIN diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init index b64fe8bd9..a6b823585 100644 --- a/net/tor/files/tor.init +++ b/net/tor/files/tor.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=tor DEFAULT=/etc/default/$BIN diff --git a/net/ulogd/files/ulogd.init b/net/ulogd/files/ulogd.init index cb7d08015..aef82e7da 100644 --- a/net/ulogd/files/ulogd.init +++ b/net/ulogd/files/ulogd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=ulogd DEFAULT=/etc/default/$BIN diff --git a/net/updatedd/files/ddns.init b/net/updatedd/files/ddns.init index 2ebba42bd..bfd873d46 100644 --- a/net/updatedd/files/ddns.init +++ b/net/updatedd/files/ddns.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 . /etc/functions.sh diff --git a/net/vrrpd/files/vrrpd.init b/net/vrrpd/files/vrrpd.init index ff6d53a5e..33ee3092e 100644 --- a/net/vrrpd/files/vrrpd.init +++ b/net/vrrpd/files/vrrpd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=vrrpd DEFAULT=/etc/default/$BIN diff --git a/net/vsftpd/files/vsftpd.init b/net/vsftpd/files/vsftpd.init index ce4111052..303d6cf1b 100644 --- a/net/vsftpd/files/vsftpd.init +++ b/net/vsftpd/files/vsftpd.init @@ -1,5 +1,7 @@ #!/bin/sh /etc/rc.common +START=50 + RUN_D=/var/run/vsftpd start() { diff --git a/net/wifidog/files/wifidog.init b/net/wifidog/files/wifidog.init index d5aaf7ca6..9ef9f586b 100644 --- a/net/wifidog/files/wifidog.init +++ b/net/wifidog/files/wifidog.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 start() { /usr/bin/wifidog-init start diff --git a/net/xinetd/files/xinetd.init b/net/xinetd/files/xinetd.init index 8ca59b93f..a1747f061 100644 --- a/net/xinetd/files/xinetd.init +++ b/net/xinetd/files/xinetd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 DEFAULT=/etc/default/xinetd RUN_D=/var/run diff --git a/sound/mt-daapd/files/mt-daapd.init b/sound/mt-daapd/files/mt-daapd.init index 460824ef6..720c7d838 100644 --- a/sound/mt-daapd/files/mt-daapd.init +++ b/sound/mt-daapd/files/mt-daapd.init @@ -1,5 +1,6 @@ #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org +START=50 BIN=mt-daapd DEFAULT=/etc/default/$BIN -- 2.11.0