mirror of
https://github.com/openwrt/packages.git
synced 2026-10-14 05:36:34 +04:00
vzlogger is a tool to read and log measurements of a wide variety of smart meters and sensors to the volkszaehler.org middleware. Signed-off-by: Andy Voigt <a.voigt@mailbox.org>
15 lines
252 B
Bash
15 lines
252 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
USE_PROCD=1
|
|
|
|
START=95
|
|
STOP=01
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command /usr/bin/vzlogger -c /etc/vzlogger.conf
|
|
procd_set_param stdout 1
|
|
procd_set_param stderr 1
|
|
procd_close_instance
|
|
}
|