Open Mile-Lile opened 3 days ago
Thanks for the report, will look into it.
@rindeal - wonder whether you could also tweak the scripts to ensure they run after NTP time syncs? To exclude the possibility that a device with skewed clock doesn't make changes until it's synched to a realistic time source.
On my system, sysntpd runs with prio 98. So this should run at at least 99.
On my system, sysntpd runs with prio 98. So this should run at at least 99.
It currently has a value of 100, which is invalid, it should be 99 indeed. https://github.com/openwrt/packages/blob/6b57e44dc5b19a67d23003b3605a2aa9f0de1929/net/wifischedule/net/etc/init.d/wifi_schedule#L4
@rindeal
wifischedule - turns wifi off after power loss even if it is not time
Steps to reproduce:
Actual behavior:
Router starts with wifi off even if it is BUSINESSHOURS when wifi should be on
Expected behavior:
Wifi should be on (regardless of rebooting), and should be off at the midhinght, script should check clock somehow
Additional Information:
OpenWrt version information from system
/etc/openwrt_release
and here are some errors from my logs, look at 19:19:44