]> git.llucax.com Git - software/bacap.git/commitdiff
Use $HOSTNAME as the default name of the local host
authorRodrigo Campos <rodrigo@sdfg.com.ar>
Mon, 12 Jul 2010 16:26:12 +0000 (13:26 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 12 Jul 2010 16:38:49 +0000 (13:38 -0300)
Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
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