mirror of
https://github.com/nikdoof/huawei-hg612-munin.git
synced 2025-12-23 07:39:30 +00:00
Set the default to /var/lib/munin/plugin-state/huawei-hg612-munin-output.txt for safety. Include a crontab file to be placed in /etc/cron.d. Update readme to match, and simplify.
6 lines
164 B
Bash
Executable File
6 lines
164 B
Bash
Executable File
#!/bin/sh
|
|
|
|
statsfile=${statsfile:-/var/lib/munin/plugin-state/huawei-hg612-munin-output.txt}
|
|
|
|
expect `dirname $0`/huawei.expect | tee | tr -d "\015" > $statsfile
|