505-autoupdater-wifi-fallback-legacy 286 B

1234567
  1. #!/usr/bin/lua
  2. local uci = require('luci.model.uci').cursor()
  3. if uci:get('autoupdater-wifi-fallback','settings') and uci:get('autoupdater-wifi-fallback','settings','min_uptime_secs') then
  4. uci:delete('autoupdater-wifi-fallback','settings')
  5. uci:save('autoupdater-wifi-fallback')
  6. end