We can send such signals using pm-utils . Needs testing .
<xnox> ritz: right, so pm-utils package has direcotries with scripts that are executed on suspend/resume, hibernate/thaw.
<ritz> aah, thanks
<xnox> ritz: so network-manager or user should just add scripts there.
ritz: see /usr/share/doc/pm-utils/README and /usr/share/doc/pm-utils/HOWTO.hooks.gz and etc.
ritz: you can ship things in /usr/lib/pm-utils/sleep.d/ (for packages) or in /etc/pm/sleep.d (for administrator).
<xnox> I think.<xnox> ritz: yeap, see $ man 8 pm-suspend.
We can send such signals using pm-utils . Needs testing .
<xnox> ritz: right, so pm-utils package has direcotries with scripts that are executed on suspend/resume, hibernate/thaw. doc/pm- utils/README and /usr/share/ doc/pm- utils/HOWTO. hooks.gz and etc. pm-utils/ sleep.d/ (for packages) or in /etc/pm/sleep.d (for administrator).
<ritz> aah, thanks
<xnox> ritz: so network-manager or user should just add scripts there.
ritz: see /usr/share/
ritz: you can ship things in /usr/lib/
<xnox> I think.<xnox> ritz: yeap, see $ man 8 pm-suspend.