1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-25 05:32:29 +00:00
dotfiles/not_dots/network-manager-resume

12 lines
228 B
Plaintext
Raw Normal View History

2015-03-15 22:29:01 +00:00
#!/bin/sh
# This script gets NetworkManager out of suspend.
case $1 in
suspend|suspend_hybrid|hibernate)
# No need to do anything here.
;;
resume|thaw)
nmcli nm sleep false
;;
esac