Repository navigation
Support custom shell commands for sleep/suspend as an alternative to Sleep-on-LAN #1765
ZeroKnight
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
It would be nice to be able to specify a shell command to sleep/suspend a device, just like how you can send a shutdown command. On Linux systems, there are many possible interfaces that could be readily used, such as:
systemctl suspendpm-suspendFor example, just like with a shutdown command, something like this:
sshpass -p foobar ssh ... upsnap@1.2.3.4 'sudo systemctl suspend'.It would be very convenient to be able to leverage this and not have to worry about SoL as a per-system dependency.
All reactions