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" 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 rw \
-o credentials=/root/sambacreds.txt \ -o credentials=/root/sambacreds.txt \
-o iocharset=utf8 \ -o iocharset=utf8 \
-o vers=3.0 \ -o vers=3.0 \
//truenas.local.wvr.sh/dayz /mnt/dayz -o uid=$(id -u) \
# -o uid=1000 \ -o gid=$(id -g)
# -o gid=1000 \
esac esac
unset ver unset ver
# asdf
else else
errmsg 'could not find /proc/version' errmsg 'could not find /proc/version'
exit 1 exit 1