Developing lightweight computation at the DSG edge

Commit 8ec5f5ed authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Activate wifihealth script by default



And run it via cron every 5 minutes.

Closes #470.
Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent dcd0b810
#!/bin/sh
if ! cat /etc/crontabs/root | grep wifihealth; then
echo "*/5 * * * * /usr/bin/wifihealth.sh >> /tmp/log/wifihealth.log" >> /etc/crontabs/root
/etc/init.d/cron enable
/etc/init.d/cron start
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment