updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / pm-utils-git / 11netcfg
blob1b4d05ee711d0852b063f4e64df66bec32f3c7c4
1 #!/bin/bash
3 . /usr/lib/pm-utils/functions
5 suspend_netcfg() {
6 netcfg2 all-suspend
9 resume_netcfg() {
10 netcfg2 all-resume
13 if [ -x /usr/bin/netcfg2 ]; then
14 case "$1" in
15 hibernate|suspend)
16 suspend_netcfg
18 thaw|resume)
19 resume_netcfg
23 esac
26 exit $?