mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-12 12:08:53 +01:00
inteno-netmodes: netmode-conf: flash all leds when receiving credentials via zero touch
This commit is contained in:
parent
379c263b65
commit
c15bf421ba
1 changed files with 4 additions and 1 deletions
|
|
@ -239,7 +239,9 @@ if [ "$from_gui" == "true" ]; then
|
|||
else
|
||||
if [ "$state" == "exit" ]; then
|
||||
return
|
||||
elif [ "$state" == "apply" ]; then
|
||||
fi
|
||||
ubus call leds set '{"state":"allflash"}'
|
||||
if [ "$state" == "apply" ]; then
|
||||
# wifi apply
|
||||
wifi reload
|
||||
else
|
||||
|
|
@ -247,4 +249,5 @@ else
|
|||
wifi reload
|
||||
fi
|
||||
[ -f /etc/init.d/layer2_interface_ethernet -a -f /etc/config/layer2_interface_ethernet ] && /etc/init.d/layer2_interface_ethernet reload
|
||||
ubus call leds set '{"state":"normal"}'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue