Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wifi_schedule S99wifi_schedule: uci: Parse error (invalid command) at line 9, byte 0 #25873

Open
przemekp1 opened this issue Jan 31, 2025 · 2 comments

Comments

@przemekp1
Copy link

After updating to version 21.10 rc7, I have the following message in the logs.

Fri Jan 31 13:43:30 2025 daemon.notice procd: /etc/rc.d/S99wifi_schedule: uci: Parse error (invalid command) at line 9, byte 0

Kernel Version:6.6.73
Model:ASUS RT-AC65P
Architecture:MediaTek MT7621 ver:1 eco:3
Firmware Version:OpenWrt 24.10.0-rc7 r28417-daef29c75d

@przemekp1
Copy link
Author

The update was from OpenWRT 23.05 to 24.20.

@przemekp1
Copy link
Author

I reset the wifi_schedule settings.

Current configuration:

config global
option logging '0'
option enabled '1'
option recheck_interval '10'
option modules_retries '10'
option unload_modules '0'

config entry 'Businesshours'
option enabled '1'
option daysofweek 'Monday Tuesday Wednesday Thursday Friday'
option starttime '06:30'
option stoptime '00:01'
option forcewifidown '1'

config entry 'Weekend'
option enabled '1'
option daysofweek 'Saturday Sunday'
option starttime '08:30'
option stoptime '00:01'
option forcewifidown '1'

w cronie wpisy

30 06 * * Mon,Tue,Wed,Thu,Fri /usr/bin/wifi_schedule.sh start Businesshours
01 00 * * Mon,Tue,Wed,Thu,Fri /usr/bin/wifi_schedule.sh forcestop Businesshours
30 08 * * Sat,Sun /usr/bin/wifi_schedule.sh start Weekend
01 00 * * Sat,Sun /usr/bin/wifi_schedule.sh forcestop Weekend

And still, the message appears
uci: Parse error (invalid command) at line 9, byte 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant