From 328a27b3d508519a64018c6cb2e1b6f098cb355b Mon Sep 17 00:00:00 2001 From: committer Date: Tue, 21 May 2024 07:24:43 -0500 Subject: [PATCH] u --- dots/systemd/nas.mount | 2 +- scripts/99_deploy.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dots/systemd/nas.mount b/dots/systemd/nas.mount index 348e1fd..778afb3 100644 --- a/dots/systemd/nas.mount +++ b/dots/systemd/nas.mount @@ -5,7 +5,7 @@ Description=Mount of NAS (/mnt/nas) What=//192.168.1.222/fro Where=/mnt/nas Type=cifs -Options=iocharset=utf8,rw,file_mode=0777,dir_mode=0777,user=[USERNAME],password=[PASSWORD] +Options=iocharset=utf8,rw,file_mode=0777,dir_mode=0777,user=USERNAME,password=PASSWORD TimeoutSec=30 [Install] diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 5d7620a..d4f4a00 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -183,8 +183,8 @@ if [ ${operation} == "dots" ] ; then trash-put ${file_path}/${file_name} deploy_file "${dots_trg}/systemd/${file_name}" "${file_path}/${file_name}" no_chown - sed -i 's|[USERNAME]|klevstul|g' "${file_path}/${file_name}" - sed -i 's|[PASSWORD]|${LILLESORTEBOKS}|g' "${file_path}/${file_name}" + sed -i 's|USERNAME|klevstul|g' "${file_path}/${file_name}" + sed -i 's|PASSWORD|${LILLESORTEBOKS}|g' "${file_path}/${file_name}" mount_target=/mnt/nas mkdir -p ${mount_target}