]> git.llucax.com Git - software/bacap.git/blobdiff - bacap
Use $HOSTNAME as the default name of the local host
[software/bacap.git] / bacap
diff --git a/bacap b/bacap
index 062902adad5c0dd07f82d7f7de5b9b096cb86ee3..fe1be0c61f7015591fea3f80386978dff5ced9f1 100755 (executable)
--- a/bacap
+++ b/bacap
@@ -19,7 +19,7 @@ LOG_FILE=
 CONFIG_PATH=/etc/bacap/hosts
 
 # Name of the local host (so no ssh would be used with this host)
-LOCALHOST=localhost
+LOCALHOST=$HOSTNAME
 
 # Where to put the backups
 BACKUP_PATH=/backup