1. 26 Jun, 2019 5 commits
    • 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
      24ea4b97
    • 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
      be91ae48
    • 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.
      0172b343
    • Jean-Claude BAU's avatar
      Update local leap second file · 247f6f38
      Jean-Claude BAU authored
      247f6f38
    • 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
      offset.
      The wr_date script has been changed to take into account this
      modification of the behavior.
      6f18a2ac
  2. 25 Jun, 2019 4 commits
  3. 12 Jun, 2019 2 commits
    • 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
    • Maciej Lipinski's avatar
      [issue #20] output syslog to /tmp with rotation of files · 696f4678
      Maciej Lipinski authored
      rsyslog outputs syslog to /tmp/syslog until the file is ~1MB, then
      the file is moved/renamed to a "rotate file" (name includes date &
      time) while the /tmp/syslog is filled by rsyslog from zero. Max
      number of 10 "rotate files" are kept. The oldest is removed when
      new file from rsyslog comes. Next step is to make this a default
      option in kconfig
      696f4678
  4. 04 Jun, 2019 1 commit
  5. 03 Jun, 2019 20 commits
  6. 10 Apr, 2019 8 commits