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
|
||||
if [ "${autodisk}" != "n" ]
|
||||
then
|
||||
mkdir -p ${mountpoint}/run/media/user1/hdd
|
||||
for wort in ${autodiskdevice}
|
||||
do
|
||||
echo "fstab ${wort} wird erstellt!!!"
|
||||
autodiskdevicedateisystem=$(blkid -s TYPE -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue