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
nice 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