Developing lightweight computation at the DSG edge

qmp_wifi_health_cron_patch 207 Bytes
Newer Older
1
2
3
4
5
6
7
#!/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