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
This commit is contained in:
mbm 2007-05-10 10:38:53 +00:00
parent 7fe42c01ab
commit fa3b8c3b5b
59 changed files with 61 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=osirisd BIN=osirisd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
[ -f /etc/syslog-ng/syslog-ng.conf ] || { [ -f /etc/syslog-ng/syslog-ng.conf ] || {

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
aiccu start aiccu start

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
/sbin/lsmod | grep ipv6 > /dev/null /sbin/lsmod | grep ipv6 > /dev/null

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding echo 1 > /proc/sys/net/ipv6/conf/all/forwarding

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
$BIN -b $PORT & $BIN -b $PORT &

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=avahi-daemon BIN=avahi-daemon
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/autopid DEFAULT=/etc/default/autopid
RUN_D=/var/run RUN_D=/var/run

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/mDNSResponder DEFAULT=/etc/default/mDNSResponder
RUN_D=/var/run RUN_D=/var/run

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/nifd DEFAULT=/etc/default/nifd
RUN_D=/var/run RUN_D=/var/run

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/snmpd DEFAULT=/etc/default/snmpd
LIB_D=/var/lib/snmp LIB_D=/var/lib/snmp

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
config_load "postgresql" config_load "postgresql"

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
PID_F=/var/run/peercast.pid PID_F=/var/run/peercast.pid

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/asterisk DEFAULT=/etc/default/asterisk
OPTIONS="" OPTIONS=""

View File

@ -1,4 +1,5 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
START=50
config_file=/etc/bind/named.conf config_file=/etc/bind/named.conf
pid_file=/var/run/named.pid pid_file=/var/run/named.pid

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
mkdir -p /var/lib/bitlbee mkdir -p /var/lib/bitlbee

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
RUN_D=/var/run RUN_D=/var/run
PID_F=$RUN_D/chilli.pid PID_F=$RUN_D/chilli.pid

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
killall -q click killall -q click

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
mkdir -p /tmp/cups mkdir -p /tmp/cups

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
LOG_D=/var/log LOG_D=/var/log
RUN_D=/var/run RUN_D=/var/run

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=ez-ipupdate BIN=ez-ipupdate
CONF=/etc/$BIN.conf CONF=/etc/$BIN.conf

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/radiusd DEFAULT=/etc/default/radiusd
LOG_D=/var/log/radius LOG_D=/var/log/radius

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=frickin BIN=frickin
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=gmediaserver BIN=gmediaserver
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=lighttpd BIN=lighttpd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
[ -d /etc/maradns ] || mkdir -p /etc/maradns [ -d /etc/maradns ] || mkdir -p /etc/maradns

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT="/etc/default/miau" DEFAULT="/etc/default/miau"
OPTIONS="-d /etc/miau/" OPTIONS="-d /etc/miau/"

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=mini_httpd BIN=mini_httpd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=miredo-server BIN=miredo-server
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=miredo BIN=miredo
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
/usr/bin/netserver /usr/bin/netserver

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
/usr/sbin/portmap /usr/sbin/portmap

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=olsrd BIN=olsrd
DEFAULT=/etc/default/olsrd DEFAULT=/etc/default/olsrd

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
for type in rsa dsa; do { for type in rsa dsa; do {

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/p910nd DEFAULT=/etc/default/p910nd
RUN_D=/var/run RUN_D=/var/run

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=parprouted BIN=parprouted
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=pgtext BIN=pgtext
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=nfacctd BIN=nfacctd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=pmacctd BIN=pmacctd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
CFG_F=/etc/privoxy/config CFG_F=/etc/privoxy/config
RUN_D=/var/run RUN_D=/var/run

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=pure-ftpd BIN=pure-ftpd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
RARPD=/usr/sbin/rarpd RARPD=/usr/sbin/rarpd
DEFAULT=/etc/default/rarpd DEFAULT=/etc/default/rarpd

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
pppoe-start pppoe-start

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/pppoe-relay DEFAULT=/etc/default/pppoe-relay

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/pppoe-server DEFAULT=/etc/default/pppoe-server

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/samba DEFAULT=/etc/default/samba
RUN_D=/var/run/samba RUN_D=/var/run/samba

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
mkdir -p `grep "^scanlogd:" /etc/passwd | cut -d: -f6` mkdir -p `grep "^scanlogd:" /etc/passwd | cut -d: -f6`

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=siproxd BIN=siproxd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
if [ -f /etc/srelay.conf ];then if [ -f /etc/srelay.conf ];then

View File

@ -1,5 +1,7 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
START=50
RUN_D=/var/tftpd-hpa RUN_D=/var/tftpd-hpa
start() { start() {

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=tinyproxy BIN=tinyproxy
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=tor BIN=tor
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=ulogd BIN=ulogd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
. /etc/functions.sh . /etc/functions.sh

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=vrrpd BIN=vrrpd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN

View File

@ -1,5 +1,7 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
START=50
RUN_D=/var/run/vsftpd RUN_D=/var/run/vsftpd
start() { start() {

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
start() { start() {
/usr/bin/wifidog-init start /usr/bin/wifidog-init start

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
DEFAULT=/etc/default/xinetd DEFAULT=/etc/default/xinetd
RUN_D=/var/run RUN_D=/var/run

View File

@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006 OpenWrt.org
START=50
BIN=mt-daapd BIN=mt-daapd
DEFAULT=/etc/default/$BIN DEFAULT=/etc/default/$BIN