summaryrefslogtreecommitdiff
path: root/scripts/boot/3020-swapon
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boot/3020-swapon')
-rwxr-xr-xscripts/boot/3020-swapon2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/3020-swapon b/scripts/boot/3020-swapon
index 7541c26..e7aed6c 100755
--- a/scripts/boot/3020-swapon
+++ b/scripts/boot/3020-swapon
@@ -29,7 +29,7 @@ Swap ()
LIVE_SWAP_DEVICES="${LIVE_SWAP_DEVICES:-/dev/sd* /dev/vd*}"
- if [ -e /run ]
+ if [ -e /root/etc/fstab.d ]
then
# wheezy
_FSTAB="/root/etc/fstab.d/swap"