1.0.37 release

This commit is contained in:
longpanda
2021-03-06 19:53:50 +08:00
parent b63ce2a3df
commit 1840cb8f38
12 changed files with 232 additions and 12 deletions

View File

@@ -59,7 +59,11 @@ else
vtlog "vtLABEL is $vtLABEL from cmdline"
fi
ln -s /dev/$vtDM "/dev/disk/by-label/$vtLABEL"
if [ -e "/dev/disk/by-label/$vtLABEL" ]; then
vtlog "/dev/disk/by-label/$vtLABEL already exist"
else
ln -s /dev/$vtDM "/dev/disk/by-label/$vtLABEL"
fi
fi
# OK finish