Skip to content
Snippets Groups Projects
  1. Sep 04, 2015
  2. Jul 14, 2015
  3. Jul 08, 2015
  4. Feb 14, 2015
  5. Jan 20, 2015
    • John Crispin's avatar
      base-files: Use 200ms LED timing as before for the new phase preinit_regular. · 29207748
      John Crispin authored
      
      This restores normal pre-r43715 200ms blink-period for the System LED we're all accustomed to see while our OpenWrt routers are booting.
      
      Failsafe possibility will now be signalled with a new 100ms blinking, which is easily recognizable from the normal 200ms booting.
      
      So no existing user will be scared by a new 500ms LED pattern, since such a slow pattern could easily be mistaken for something wrong... I was like "ok why my router is collapsing now, is this a bad flash, a kernel panic, or what else" when I've seen it for the first time ;)
      
      Sorry for not having explained myself better in v1 of this patch.
      
      Original:
      Preinit, failsafe is possible: 200ms
      Preinit, failsafe not possible anymore, booting normally: 200ms
      Failsafe entered: 50ms
      
      Now (after preinit_regular has been introduced):
      Preinit, failsafe is possible: 200ms
      Preinit, failsafe not possible anymore, booting normally: 500ms *here is the "offending" change*
      Failsafe entered: 50ms
      
      With my proposed patch:
      Preinit, failsafe is possible: 100ms *indicate this condition with a new timing, that prompts the user to press the key if they want to start failsafe*
      Preinit, failsafe not possible anymore, booting normally: 200ms *keep this as before*
      Failsafe entered: 50ms
      
      Signed-off-by: default avatarVittorio Gambaletta <openwrt@vittgam.net>
      
      SVN-Revision: 44056
      29207748
  6. Jan 17, 2015
  7. Jan 08, 2015
  8. Dec 15, 2014
    • John Crispin's avatar
      add "preinit_regular" diag.sh set_state argument · 019ea725
      John Crispin authored
      
      This new argument is used right after starting regular preinit (which
      happens if failsafe wasn't triggered). The main purpose of "preinit"
      argument is to indicate that failsafe can be triggered, however we were
      missing a way to inform user that we don't wait for a trigger anymore.
      With this change it's clear when failsafe mode can be triggered.
      
      Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
      
      SVN-Revision: 43715
      019ea725
  9. Oct 14, 2014
    • John Crispin's avatar
      scripts: fix wrong usage of '==' operator · 20940138
      John Crispin authored
      
      [base-files] shell-scripting: fix wrong usage of '==' operator
      
      normally the '==' is used for invoking a regex parser and is a bashism.
      all of the fixes just want to compare a string. the used busybox-ash
      will silently "ignore" this mistake, but make it portable/clean at least.
      
      this patch does not change the behavior/logic of the scripts.
      
      Signed-off-by: default avatarBastian Bittorf <bittorf@bluebottle.com>
      
      SVN-Revision: 42911
      20940138
  10. Oct 09, 2014
  11. Oct 08, 2014
  12. Sep 25, 2014
  13. Sep 14, 2014
  14. Aug 18, 2014
  15. Aug 11, 2014
  16. Jul 14, 2014
  17. Jun 19, 2014
  18. Jun 02, 2014
  19. May 16, 2014
  20. Apr 08, 2014
  21. Apr 07, 2014
  22. Jan 23, 2014
  23. Dec 16, 2013
  24. Dec 09, 2013
  25. Jul 15, 2013
  26. Jun 17, 2013
  27. May 06, 2013
  28. Apr 22, 2013
  29. Apr 09, 2013
  30. Feb 18, 2013
  31. Jan 22, 2013
  32. Jan 21, 2013
  33. Jan 15, 2013
  34. Dec 19, 2012
  35. Dec 17, 2012
  36. Dec 16, 2012
    • Jo-Philipp Wich's avatar
      base-files: rework cache handling in network.sh to keep the entire parsed... · 17acf9bf
      Jo-Philipp Wich authored
      base-files: rework cache handling in network.sh to keep the entire parsed ifstatus, use jshn namespaces to support using it concurrently with other jshn users
      
      SVN-Revision: 34725
      17acf9bf
    • Jo-Philipp Wich's avatar
      base-files: various enhancements to network.sh · 1600ba99
      Jo-Philipp Wich authored
      	- support reading inactive gateways and DNS information in
      	  network_get_gateway(), network_get_dnsserver() and network_get_dnssearch()
      	  by passing "true" as optional last argument
      	- internally cache fetched values to speed up subsequent accesses to the same
      	  data, introduce network_flush_cache() to clear them
      	- add some inline function documentation
      
      SVN-Revision: 34722
      1600ba99
Loading