summaryrefslogtreecommitdiffstats
path: root/main/openrc/swap-ifexists.patch
blob: 65ab2978c8071fa1c0a32fd2e3660c3c01e3ad57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/init.d/swap.in b/init.d/swap.in
index 9e8ddbd..2bf5614 100644
--- a/init.d/swap.in
+++ b/init.d/swap.in
@@ -12,7 +12,7 @@ start()
 {
 	ebegin "Activating swap devices"
 	case "$RC_UNAME" in
-		Linux)		swapon -a -e >/dev/null;;
+		Linux)		swapon -a >/dev/null;;
 		NetBSD|OpenBSD) swapctl -A -t noblk >/dev/null;;
 		*)		swapon -a >/dev/null;;
 	esac