1. 26 Jun, 2019 9 commits
    • Maciej Lipinski's avatar
      [issue #194] updated messages printed by SNMPd to syslog · 3bf0de56
      Maciej Lipinski authored
      - information in the body of the message about severity was
        not aligned with the severity reported to syslog, now all
        is aligned
      - aligned format of all messages from snmpd that use snmp_log()
    • Maciej Lipinski's avatar
      [issue #194] add optiont to Kconfig which allows using <facility*8+priority> from messages · 0513c3ee
      Maciej Lipinski authored
      Another option is added in Kconfig that applies to all the deamons
      that provide <facility*8+priority> in their messages. If logging
      in Kconfig is set to "default_syslog", the logger is run with
      the option --prio-prefix. With this option, the facility/priority
      from message is used. All the other otions for "Logint directions.."
      are left unchnaged.
    • Maciej Lipinski's avatar
    • Maciej Lipinski's avatar
      [issue #194] add facility to wrs_msg and <facility*8+priority> to output msgs · 8c9ef674
      Maciej Lipinski authored
      Logger can interpret get log facility & level (error, info, etc) from
      log message if such info is provided properly. I.e. it needs to be
      enclosed in <> and the first thing in the message. The wrs-msg.c file
      in the libwr was changed such that the log facility & level ares properly
      printed in log messages, and thus later properly interpreted by the syslog
      elastic search on the server. For this, wrs_msg lib needs to know the
      faciltiy of the application that uses it. Thus, the wrs_msg_init()
      function was updated (in the library and all its calls in applications)
    • Jean-Claude BAU's avatar
      [New feature] Check for incoming leap second · 24ea4b97
      Jean-Claude BAU authored
      - Add a new tool (wrs_leapsec) to check for an incoming leap second. It
      is done by parsing the leap second file. If a leap second is detected
      then adjustment parameters for the clock algoritm are set in the kernel.
      - Start the tool at startup
      - With cron, execute the tool every 3 hours
      - As many tools need to parse the leap seconds file, functions have been
      added in the library and then called by these tools
    • Jean-Claude BAU's avatar
      New feature: Automatic update of the leap seconds file · be91ae48
      Jean-Claude BAU authored
      - Install cron
      - New leap_seconds_file_update script. Launched at startup and then 1
      time per day by cron
      - Kconfig update to setup from where the file should be downloaded
    • Jean-Claude BAU's avatar
      dhcp_get_filename.sh: Save boot server IP in a local file · 0172b343
      Jean-Claude BAU authored
      The boot server IP is saved into /tmp/boot_server_ip. It can be useful
      to get it to download files from this location in other scripts.
    • Jean-Claude BAU's avatar
      Update local leap second file · 247f6f38
      Jean-Claude BAU authored
    • Jean-Claude BAU's avatar
      wr_date.c: Add option · 6f18a2ac
      Jean-Claude BAU authored
      The -n option in the wr_date tool is used for a dry run. It execute the
      code without applying changes in the system and the hardware.
      However calling "wr_date -n set host" was not setting the date but
      applying the TAI offset. To make things more consistant, a new option
      has been added. Calling "wr_date set host tai" now sets only the TAI
      The wr_date script has been changed to take into account this
      modification of the behavior.
  2. 25 Jun, 2019 6 commits
  3. 24 Jun, 2019 2 commits
  4. 21 Jun, 2019 1 commit
  5. 19 Jun, 2019 1 commit
    • Jean-Claude BAU's avatar
      wrs_build_all: Exit on error · 40a1389c
      Jean-Claude BAU authored
      Having just a small message indicating that a build error has been
      detected at the end of the script is not sufficient. The tarball is
      created but is invalid and might be used.
      Now, when an error is detected the build procedure is immediately
      aborted. The tarball is not then created.
  6. 14 Jun, 2019 1 commit
  7. 12 Jun, 2019 4 commits
  8. 11 Jun, 2019 4 commits
  9. 07 Jun, 2019 2 commits
  10. 06 Jun, 2019 2 commits
  11. 05 Jun, 2019 3 commits
  12. 04 Jun, 2019 2 commits
  13. 03 Jun, 2019 3 commits