This commit is contained in:
2023-11-20 07:24:11 -06:00
parent 6be29407b1
commit 12105271d7

View File

@@ -43,18 +43,17 @@ mount_dayz_network_drive() {
;;
*)
msg "Detected Linux, mounting via cifs"
sudo mount -t cifs \
# shellcheck disable=2046
sudo mount -t cifs //truenas.local.wvr.sh/dayz /mnt/dayz \
-o rw \
-o credentials=/root/sambacreds.txt \
-o iocharset=utf8 \
-o vers=3.0 \
//truenas.local.wvr.sh/dayz /mnt/dayz
# -o uid=1000 \
# -o gid=1000 \
-o uid=$(id -u) \
-o gid=$(id -g)
esac
unset ver
# asdf
else
errmsg 'could not find /proc/version'
exit 1