Создал(а) 'firmware-auto-update'
This commit is contained in:
parent
fca1f7a8e5
commit
58c5cb11a0
4
firmware-auto-update
Normal file
4
firmware-auto-update
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
if ([system routerboard settings get auto-upgrade] = true) do={ \
|
||||||
|
if ([system routerboard get current-firmware] != [system routerboard get upgrade-firmware]) do={system reboot} \
|
||||||
|
else={log info "Firmware up to date."} \
|
||||||
|
} else={log warning "Firmware auto-update: Disabled. Need manual upgrade!"}
|
Loading…
Reference in New Issue
Block a user