increase mount wait timeout to 10 seconds

pull/40/head
TomasM 2017-12-17 07:53:38 -05:00
parent add1fbd465
commit c5eabd4e3c
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ fstab_create()
blkid | grep -v "^/dev/loop" | grep -v "^/dev/zram" | cut -d: -f 1 | while read DEVICE; do
FS="$(device_bestfs $DEVICE)"
LABEL="$(basename $DEVICE)"
OPTS="defaults,noatime,nofail,x-systemd.device-timeout=2"
OPTS="defaults,noatime,nofail,x-systemd.device-timeout=10"
if [ "$FS" != "swap" -a "$FS" != "squashfs" -a "$DEVICE" != "$BOOTDEVICE" ]; then
mkdir -p "$1/media/$LABEL"