summaryrefslogtreecommitdiffstats
path: root/contrib/11netcfg
diff options
context:
space:
mode:
authorByron Clark <byron@theclarkfamily.name>2011-06-22 05:44:01 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-07-30 16:01:32 +0200
commit8f3c67137112a506a3de683fe7dcb93489211f90 (patch)
tree5cb285dfadba31a66d2b3ab08f57e72c0287f9f3 /contrib/11netcfg
parentffb6d8e02a98548ba8310c35a0df358474f710a2 (diff)
downloadnetctl-8f3c67137112a506a3de683fe7dcb93489211f90.tar.gz
netctl-8f3c67137112a506a3de683fe7dcb93489211f90.tar.xz
Use correct rc scripts names in suspend hook.
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'contrib/11netcfg')
-rwxr-xr-xcontrib/11netcfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/11netcfg b/contrib/11netcfg
index b1a5d5f..db65f5a 100755
--- a/contrib/11netcfg
+++ b/contrib/11netcfg
@@ -7,7 +7,8 @@ suspend_netcfg() {
case $NETCFG_SUSPEND in
daemons)
stopservice net-profiles
- stopservice net-auto
+ stopservice net-auto-wired
+ stopservice net-auto-wireless
;;
retain|*)
netcfg all-suspend
@@ -19,7 +20,8 @@ resume_netcfg() {
case $NETCFG_SUSPEND in
daemons)
restartservice net-profiles
- restartservice net-auto
+ restartservice net-auto-wired
+ restartservice net-auto-wireless
;;
retain|*)
netcfg all-resume