diff --git a/bash.org b/bash.org index 78ca5fc..6735a42 100644 --- a/bash.org +++ b/bash.org @@ -244,7 +244,7 @@ export LINKDING_TOKEN=`pass nas/linkding_token` *** Restic #+begin_src bash -if [ "$(hostname)" = "ldehaeze" ]; then +if [ "$(hostnamectl hostname)" = "ldehaeze" ]; then export RESTIC_REPOSITORY=sftp:thomas@homelab:/srv/storage/Backups/esrf-laptop export RESTIC_PASSWORD_COMMAND="pass show restic" fi