Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 7c23e16b6569
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: d6f95aa4b55c
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 20, 2021

  1. wakeonlan service: use powerUpCommands

    powerDownCommands is supposed to run before shutdown, but the current
    implementation only runs before-sleep, thus not enabling wakeonlan on
    devices when powering off even if the hardware supports it.
    
    Taking into consideration the possibility of unexpected shutdown, it is
    preferable to move the commands to powerUpCommands instead which is
    executed at boot time as well as after resume - that should cover all
    use cases for wakeonlan.
    
    Fixes #91352
    
    (cherry picked from commit f462cf1)
    martinetd authored and rnhmjoj committed Apr 20, 2021
    Copy the full SHA
    d6f95aa View commit details
    Browse the repository at this point in the history