diff options
Diffstat (limited to 'scripts/pm-utils')
-rwxr-xr-x | scripts/pm-utils | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pm-utils b/scripts/pm-utils index 311851f..93ee763 100755 --- a/scripts/pm-utils +++ b/scripts/pm-utils @@ -10,7 +10,7 @@ resume_netcfg() { netcfg all-resume } -if [ -x /usr/bin/netcfg ]; then +if type netcfg > /dev/null; then case "$1" in hibernate|suspend) suspend_netcfg |