automount
This commit is contained in:
parent
29daf0e701
commit
d362fea862
1 changed files with 20 additions and 1 deletions
19
arch-install
19
arch-install
|
@ -407,6 +407,14 @@ function installation {
|
|||
fi
|
||||
fi
|
||||
|
||||
#autdiskmount
|
||||
if [ "${autodisk}" != "n" ]
|
||||
then
|
||||
mkdir -p ${mountpoint}/run/media/user1/hdd
|
||||
echo "UUID=${autodiskdeviceuuid} /run/media/user1/hdd ${autodiskdevicedateisystem} defaults 0 2" >> ${mountpoint}/etc/fstab
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -837,6 +845,17 @@ function abfrage() {
|
|||
# install="offline"
|
||||
# fi
|
||||
|
||||
read -p "Should you an disk added to your fstab? : [n/N] " autodisk
|
||||
if [ "${autodisk}" != "n" ]
|
||||
then
|
||||
read -p "Which DISK stick should be selected ?: /dev/sdb1 " autodiskdevice
|
||||
[[ -z "${autodiskdevice}" ]] && autodiskdevice=/dev/sdb1
|
||||
autodiskdevicedateisystem=$(blkid -s TYPE -o value ${usbkeydevice})
|
||||
autodiskdeviceuuid=$(blkid -s UUID -o value ${usbkeydevice})
|
||||
|
||||
|
||||
fi
|
||||
|
||||
if [ "${offline}" != "n" ] && [ "${update}" != "n" ]; then
|
||||
read -p "Do you want to activate the VNC protocol? : [y/N] " x11vnc
|
||||
echo "This password is only valid for the current session !!!"
|
||||
|
|
Loading…
Reference in a new issue