Here is a script that I used for disabling / enabling wireless on my laptop during suspend/wakeup
[root]# cat > /etc/pm/sleep.d/wireless <<EOF
#!/bin/bash
. /usr/lib/pm-utils/functions
case "$1" in
hibernate|suspend)
rfkill block all
;;
thaw|resume)
rfkill unblock all
;;
*)
;;
esac
exit
EOF
[root]# chmod 755 /etc/pm/sleep.d/wireless
Dear, I like your blog very much, I can get many useful information. Hope that we can communicate with each other. By the way, have you ever used clone partition to ssd ? Unfortunately I lost my partition. I do not know how to do.
ReplyDeletenice post
ReplyDeleteI have been searching for puppet module for installing and configuring pgpool and you have just solved my problem by providing me the required program.
ReplyDelete