filesystems: set swap partitions timeout to avoid slow boot with systemd

This commit is contained in:
Silvan Calarco 2016-11-07 20:28:10 +01:00
parent 6cda6f2788
commit cf701ffc86

View File

@ -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