summaryrefslogtreecommitdiff
path: root/init.d/swap-blk.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/swap-blk.in')
-rw-r--r--init.d/swap-blk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/swap-blk.in b/init.d/swap-blk.in
index 3c1c52c..f7d4367 100644
--- a/init.d/swap-blk.in
+++ b/init.d/swap-blk.in
@@ -13,11 +13,11 @@ start()
ebegin "Activating block swap devices"
swapctl -A -t blk >/dev/null
eend 0 # If swapon has nothing todo it errors, so always return 0
-}
+}
stop()
{
ebegin "Deactivating block swap devices"
swapctl -U -t blk >/dev/null
- eend 0
+ eend 0
}