mirror of
https://github.com/balkian/dotfiles.git
synced 2024-12-03 16:52:29 +00:00
12 lines
228 B
Bash
Executable File
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
|