filesystems: set swap partitions timeout to avoid slow boot with systemd
This commit is contained in:
parent
6cda6f2788
commit
cf701ffc86
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user