summaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-09-17 21:45:30 +0000
committerJohn Crispin <john@openwrt.org>2013-09-17 21:45:30 +0000
commitf87409440298121ae1fbd718a17267cc180438e4 (patch)
tree2ceea2187fddf2c9fb21cb43a27d69afdd55e81f /package/system/procd/files
parent4f62127dea854024116383c84fedb673baaae9cd (diff)
downloadmaster-31e0f0ae-f87409440298121ae1fbd718a17267cc180438e4.tar.gz
master-31e0f0ae-f87409440298121ae1fbd718a17267cc180438e4.tar.bz2
master-31e0f0ae-f87409440298121ae1fbd718a17267cc180438e4.zip
procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38023
Diffstat (limited to 'package/system/procd/files')
-rw-r--r--package/system/procd/files/log.init5
1 files changed, 0 insertions, 5 deletions
diff --git a/package/system/procd/files/log.init b/package/system/procd/files/log.init
index 4a878fed99..14fbdf8c54 100644
--- a/package/system/procd/files/log.init
+++ b/package/system/procd/files/log.init
@@ -8,7 +8,6 @@ STOP=89
USE_PROCD=1
NAME=logread
PROG=/sbin/logread
-PIDCOUNT=1
start_service_file()
{
@@ -24,8 +23,6 @@ start_service_file()
procd_set_param command "$PROG" -f -F "$log_file" -p "$pid_file"
[ -n "${log_size}" ] && procd_append_param command -S "$log_size"
procd_close_instance
-
- PIDCOUNT="$(( ${PIDCOUNT} + 1))"
}
start_service_remote()
@@ -43,8 +40,6 @@ start_service_remote()
procd_set_param command "$PROG" -f -r "$log_ip" "${log_port:-514}" -p "$pid_file"
[ "${log_proto}" != "udp" ] || procd_append_param command -u
procd_close_instance
-
- PIDCOUNT="$(( ${PIDCOUNT} + 1))"
}
service_triggers()