Commit 14da19d6 authored by Robert Ricci's avatar Robert Ricci

Add '-s' argument to get just the hostname

parent dab75610
......@@ -2,7 +2,7 @@
RSYNC=rsync
BACKUPHOST=$1
THISHOST=`hostname`
THISHOST=`hostname -s`
LOCALDIR=$2/
REMOTEDIR=/backup/$THISHOST/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment