Skip to content
Snippets Groups Projects
  1. Jan 27, 2025
  2. Jan 25, 2025
    • Adam Wujek's avatar
      rootfs/etc/init.d/system_clock_monitor: fix killing ntpd with pgid · fee88de0
      Adam Wujek authored
      
      -Get process group ID (pgid) instead of process ID. It didn't work when
       it was called from cron.
      -pgrep should accept full path. Without "-f" pgrep accepts "ntpd", but
       not "/usr/sbin/ntpd"
      
      Because of the two reasons above the system_clock_monitor script was not
      killing ntpd correctly.
      
      In practice, the ntp will be killed after 10s, instead of default
      timeout from ntpd 50s.
      
      Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
      fee88de0
  3. Jan 21, 2025
  4. Jan 20, 2025
  5. Jul 09, 2024
  6. Jul 04, 2023
  7. May 08, 2023
  8. Feb 24, 2023
  9. Feb 06, 2023
  10. Nov 18, 2022
  11. Oct 29, 2020
  12. Oct 28, 2020
  13. Oct 22, 2020
  14. Oct 07, 2020
    • Alessandro Rubini's avatar
      Fix monit problem with commit 9bc9dd16 · 8a971908
      Alessandro Rubini authored
      There is a monit-related problem in commit 9bc9dd16
      
      .
      
      The commit renames /etc/init.d/lldpd.sh into /etc/init.d/lldpd.bash
      whle adding a single stanza. Try "git diff e61eb08 9ebc5e2" to
      see the difference.
      
      But monit still uses the old name. Instead of changing monit
      (a two-liner, but adds noise because of .bash), this renames back
      the file to .sh and removes the needless bashism in the new stanza.
      
      Please note that calling stuff ".bash" makes no sense (suffixes
      make no sense most of the time!). The only thing rcS does is checking
      if the name is "*.sh", to just read it in the current shell instead
      of executing. So anything not ".sh" is executed, we don't need to
      special case .bash, .py or whatever.
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      8a971908
  15. Aug 28, 2020
  16. Aug 13, 2020
  17. Jul 11, 2020
  18. Jun 11, 2020
  19. May 26, 2020
  20. May 20, 2020
  21. May 19, 2020