1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-24 21:22:29 +00:00
dotfiles/not_dots/network-manager-resume
2015-03-15 23:29:01 +01:00

12 lines
228 B
Bash
Executable File

#!/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