From cf701ffc86e7160cc6392b7025a6327b222f3560 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 7 Nov 2016 20:28:10 +0100 Subject: [PATCH] filesystems: set swap partitions timeout to avoid slow boot with systemd --- postplug.d/10filesystems | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postplug.d/10filesystems b/postplug.d/10filesystems index 3dc03bb..90269c0 100644 --- a/postplug.d/10filesystems +++ b/postplug.d/10filesystems @@ -240,7 +240,7 @@ blkid | while read line; do [ "$FS_SWAP_UPDATE" = "yes" ] || continue mount_point="swap " fstype="swap" - options="pri=1" + options="pri=1,nofail,x-systemd.device-timeout=4" let "swapon = 1" ;; ext*|reiserfs|reiser4) # Linux partition [ "$FS_PARTS_UPDATE" = "yes" ] || continue