This commit is contained in:
committer
2024-05-21 07:01:52 -05:00
parent b73e5c7fe8
commit 399a72e5fa

View File

@@ -173,15 +173,15 @@ if [ ${operation} == "dots" ] ; then
deploy_file "${dots_trg}/environment/${file_name}" "${file_path}/${file_name}" no_chown deploy_file "${dots_trg}/environment/${file_name}" "${file_path}/${file_name}" no_chown
# mounts # mounts
file_name=nas.mount # file_name=nas.mount
file_path=/etc/systemd/system # file_path=/etc/systemd/system
deploy_file "${dots_trg}/systemd/${file_name}" "${file_path}/${file_name}" no_chown # 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|[USERNAME]|klevstul|g' "${file_path}/${file_name}"
sed -i 's|[PASSWORD]|${LILLESORTEBOKS}|g' "${file_path}/${file_name}" # sed -i 's|[PASSWORD]|${LILLESORTEBOKS}|g' "${file_path}/${file_name}"
#
mount_target=/mnt/nas # mount_target=/mnt/nas
mkdir -p ${mount_target} # mkdir -p ${mount_target}
# ---------- # ----------
# printing # printing