forked from freifunk-franken/firmware
15 lines
345 B
Bash
15 lines
345 B
Bash
#!/bin/sh
|
|
|
|
touch /etc/config/nodewatcher
|
|
|
|
uci batch <<EOF
|
|
add nodewatcher script
|
|
set nodewatcher.@script[0].error_level='0'
|
|
set nodewatcher.@script[0].logfile='/var/log/nodewatcher.log'
|
|
set nodewatcher.@script[0].data_file='/tmp/crawldata/node.data'
|
|
set nodewatcher.@script[0].status_text_file='/tmp/status.txt'
|
|
EOF
|
|
uci commit
|
|
|
|
exit 0
|