Skip to content
Snippets Groups Projects
  1. May 20, 2020
  2. May 19, 2020
  3. Apr 09, 2020
  4. Mar 30, 2020
    • Maciej Lipinski's avatar
      [starup/DHCP] Introduce escape to wait_dhcp_forever(). · fb730c85
      Maciej Lipinski authored
      Setting the options to force dot-config/IP over DHCP can
      be dangerous. Until now, the switch would wait endlessly
      in an infinite loop.
      
      This commit introduces a way to escape the loop. This can
      be done by connecting to the back UART and pressing any
      key.
      fb730c85
  5. Mar 27, 2020
  6. Jan 14, 2020
    • Jean-Claude BAU's avatar
      Bug fix: Monit errors appearing in syslog at startup · 65970bde
      Jean-Claude BAU authored
      As monit process is started after other processes, it does not take into
      account  the 'unmonitor' messages sent from start scripts (ldap.sh,
      ...). This generates error messages at startup.
      
      To avoid that, the configuration of monit is set now dynamically in the
      apply_dotconfig script. All disabled processes are then removed from the
      configuration to avoid errors due to process start order.
      Also the first monitoring cycle is postponed by 30s at startup.
      65970bde
  7. Jan 13, 2020
  8. Jan 07, 2020
    • Jean-Claude BAU's avatar
      network script: new behavior · 4d9968c3
      Jean-Claude BAU authored
      When the configuration indicates that the network is  forced to use the
      DHCP service for its setup (CONFIG_ETH0_DHCP=y), the script waits
      forever the availability of the DHCP service.
      
      In the other cases, the behavior remains unchanged.
      4d9968c3
    • Jean-Claude BAU's avatar
      dot-config script: new behavior · c9fe1601
      Jean-Claude BAU authored
      When the dot-config file is read at startup using the DHCP service to
      get the server IP address, the script waits forever the availability of
      DHCP service in the following case :
      - CONFIG_DOTCONF_SOURCE_FORCE_DHCP=y AND CONFIG_ETH0_DHCP=y
      
      CONFIG_ETH0_DHCP: Set to indicate that the network is forced to use DHCP
      for its setup.
      
      In the other cases, the behavior stay unchanged.
      c9fe1601
  9. Aug 02, 2019
    • Jean-Claude BAU's avatar
      Protect SNMP for read file access · 328b9f52
      Jean-Claude BAU authored
      Some scripts write to files to pass information to SNMP.
      To avoid read access failure from SNMP, the previous file is copied to a
      .old file then the new one is created.
      328b9f52
  10. Jul 03, 2019
  11. Jun 26, 2019
  12. Jun 25, 2019
  13. Jun 12, 2019
    • Maciej Lipinski's avatar
      [issue #194] update init scripts to provide name of deamon in syslog · 40718f5e
      Maciej Lipinski authored
      Init scripts start logger that prints output of deamons into syslogs.
      This logger is run with -p to attach tag. This tag is interpreted
      as the process that produces the following message. In the many init
      scripts this tag was set to wr-switch, incorrectly. This commit
      corrects it to include the name of the daemon.
      40718f5e
  14. Jun 03, 2019