diff options
Diffstat (limited to 'init.d/swap-blk.in')
-rw-r--r-- | init.d/swap-blk.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/swap-blk.in b/init.d/swap-blk.in index 3c1c52cf..f7d43673 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 } |