fix
This commit is contained in:
parent
8a37143ac5
commit
882e26e535
1 changed files with 2 additions and 2 deletions
|
@ -410,13 +410,13 @@ function installation {
|
||||||
#autdiskmount
|
#autdiskmount
|
||||||
if [ "${autodisk}" != "n" ]
|
if [ "${autodisk}" != "n" ]
|
||||||
then
|
then
|
||||||
mkdir -p ${mountpoint}/run/media/user1/hdd
|
|
||||||
for wort in ${autodiskdevice}
|
for wort in ${autodiskdevice}
|
||||||
do
|
do
|
||||||
echo "fstab ${wort} wird erstellt!!!"
|
echo "fstab ${wort} wird erstellt!!!"
|
||||||
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${usbkeydevice})
|
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${usbkeydevice})
|
||||||
autodiskdeviceuuid=$(blkid -s UUID -o value ${usbkeydevice})
|
autodiskdeviceuuid=$(blkid -s UUID -o value ${usbkeydevice})
|
||||||
echo "UUID=${autodiskdeviceuuid} /run/media/user1/hdd ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab
|
mkdir -p ${mountpoint}/run/media/user1/${wort#/*/}
|
||||||
|
echo "UUID=${autodiskdeviceuuid} /run/media/user1/${wort#/*/} ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue