This commit is contained in:
simono41 2018-07-16 01:11:15 +02:00
parent 05efcd637f
commit 85bc986861

View file

@ -471,9 +471,9 @@ function installation {
do do
echo "fstab ${wort} wird erstellt!!!" echo "fstab ${wort} wird erstellt!!!"
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort}) autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort})
autodiskdeviceuuid=$(blkid -s UUID -o value ${wort}) autodiskdevicepartuuid=$(blkid -s PARTUUID -o value ${wort})
mkdir -p ${mountpoint}/run/media/user1/${autodiskdeviceuuid} mkdir -p ${mountpoint}/run/media/user1/${autodiskdevicepartuuid}
echo "UUID=${autodiskdeviceuuid} /run/media/user1/${autodiskdeviceuuid} ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab echo "PARTUUID=${autodiskdevicepartuuid} /run/media/user1/${autodiskdevicepartuuid} ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab
done done
@ -917,7 +917,7 @@ function abfrage() {
do do
echo "fstab ${wort} wird erstellt!!!" echo "fstab ${wort} wird erstellt!!!"
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort}) autodiskdevicedateisystem=$(blkid -s TYPE -o value ${wort})
autodiskdeviceuuid=$(blkid -s UUID -o value ${wort}) autodiskdeviceuuid=$(blkid -s PARTUUID -o value ${wort})
done done