How to fix wireless settings after sleep & hibernate

So, I fixed my wireless driver, turned on power management, and, that keeps getting reset to the defaults after sleep or hibernate (KDE control panel). There are many places to hard code fixes like these, but, is there some place dedicated to post-restore scripts? I don’t want to put my script somwhere that it’s going to get clobbered on a system update.

This system really needs an /etc/rc.local anyway. Can I just create one and put it in the string of things to run at transition between runstate 3 and 5? Will that always get run with the powermanagement stuff?

I was thinking about putting something in /usr/lib/pm-utils/sleep.d but I don’t know if both sleep & s2disk will call it & I don’t know if there is a better place.