Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@StollD
Copy link
Member

@StollD StollD commented Oct 1, 2019

As discussed with @phunyguy on gitter

This removes the hard systemd dependency from the sleep script, by using nmcli directly, which is an upstream tool. This makes it possible to use the script on distributions like gentoo or void, by running it manually or hooking it up to the service manager that is used.

This also removes the forced restart if people willingly disabled NetworkManager.

By using nmcli, users who don't use a systemd based distribution (Gentoo etc.),
can run the sleep script manually, or hook it up to their service manager manually.

This also removes the forced restart if people willingly disabled NetworkManager.

Signed-off-by: Dorian Stoll <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants