u
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user