I'm not sure whether this scipt were posted here. ===================== #!/bin/bash case "$1" in thaw|resume) nmcli nm sleep false ;; *) ;; esac exit $? #save it in /etc/pm/sleep.d/wakenet.sh
I'm not sure whether this scipt were posted here. ======= ======= sleep.d/ wakenet. sh
=======
#!/bin/bash
case "$1" in
thaw|resume)
nmcli nm sleep false
;;
*)
;;
esac
exit $?
#save it in /etc/pm/