projects
/
etc-obnam.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e83eaa
)
Fix a typo.
author
Andrew Ruthven
<andrew@etc.gen.nz>
Thu, 26 Apr 2012 09:30:56 +0000
(21:30 +1200)
committer
Andrew Ruthven
<andrew@etc.gen.nz>
Thu, 26 Apr 2012 09:30:56 +0000
(21:30 +1200)
run-backup
patch
|
blob
|
history
diff --git
a/run-backup
b/run-backup
index fd76d9563b2f8c9c3f968c6e9172297f847bf800..4c5d30f04c430775efa370f7b1c5898450c19e80 100755
(executable)
--- a/
run-backup
+++ b/
run-backup
@@
-51,7
+51,7
@@
check_host() {
# Check the neighbour table. If $HOST_NAME is *us* then we won't have an
# entry, that is why HOST_MAC is optional. Could check ip link to see if
-
$
$HOST_MAC is on this box.
+
#
$HOST_MAC is on this box.
local mac=$(ip neigh | egrep "^$ip " | grep REACHABLE | awk '{ print $5 }' )
if [ $(echo $mac | wc -l ) -ne 1 ]
then