aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/swapfiles.in8
1 files changed, 0 insertions, 8 deletions
diff --git a/init.d/swapfiles.in b/init.d/swapfiles.in
index ec73baa0..144096a8 100644
--- a/init.d/swapfiles.in
+++ b/init.d/swapfiles.in
@@ -21,14 +21,6 @@ start()
stop()
{
ebegin "Deactivating additional swap space"
-
- # Try to unmount all tmpfs filesystems not in use, else a deadlock may
- # occur. As $RC_SVCDIR may also be tmpfs we cd to it to lock it
- # fixme: Do we need this here since we are only unmounting swap files
- # and loopback swap?
- cd "$RC_SVCDIR"
- umount -a -t tmpfs 2>/dev/null
-
case "$RC_UNAME" in
Linux)
if [ -e /proc/swaps ]; then