[Git-commits] [grml/grml-autoconfig] 4e06a5: Improve easter egg for 20 years of grml.org

Michael Prokop noreply at github.com
Sat Sep 16 14:44:09 CEST 2023


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-autoconfig
  Commit: 4e06a5ed225c72954f03d12c07aa8bc33fbcd78f
      https://github.com/grml/grml-autoconfig/commit/4e06a5ed225c72954f03d12c07aa8bc33fbcd78f
  Author: Michael Prokop <mika at grml.org>
  Date:   2023-09-16 (Sat, 16 Sep 2023)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  Improve easter egg for 20 years of grml.org

Relevant changes:

1) Don't convert dates via date(1), but provide epoch seconds right away
2) Also use zsh's ${EPOCHSECONDS} instead of forking to date(1)
3) Display easter egg message with einfo iff we are within the birthday range
4) Don't display easter egg only on 2023-09-16 and one month later,
   but instead have the easter egg appear randomly, with diminishing probability as
   you get farther from the actual birthday
5) Don't display anything at all when booting with noeasteregg boot option

Thanks: Christopher Bock and AndrĂ¡s Korn




More information about the Git-commits mailing list