diff --git a/init.d/swap.in b/init.d/swap.in index 4fb2b350..c030ad80 100644 --- a/init.d/swap.in +++ b/init.d/swap.in @@ -29,12 +29,6 @@ start() stop() { ebegin "Deactivating swap devices" - - # 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 - cd "$RC_SVCDIR" - umount -a -t tmpfs 2>/dev/null - case "$RC_UNAME" in NetBSD|OpenBSD) swapctl -U -t noblk >/dev/null;; *) swapoff -a >/dev/null;;