iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
misc fixes and improvements
[distro-setup]
/
btrbk-run
diff --git
a/btrbk-run
b/btrbk-run
index c83b76354a15b3c253e51350af31edb51e5a4784..2e839eefe586f60166df27c0de2a37ef5c8f83a2 100644
(file)
--- a/
btrbk-run
+++ b/
btrbk-run
@@
-175,13
+175,13
@@
if [[ ! -v targets && ! $source ]]; then
kw)
at_work=true
;;&
kw)
at_work=true
;;&
- x2|x3|sy)
+ x2|x3|sy
|bo
)
if ping -q -c1 -w1 hal.office.fsf.org \
&& ip n show 192.168.0.26 | grep . &>/dev/null; then
at_work=true
fi
;;&
if ping -q -c1 -w1 hal.office.fsf.org \
&& ip n show 192.168.0.26 | grep . &>/dev/null; then
at_work=true
fi
;;&
- kw|x2|x3|sy)
+ kw|x2|x3|sy
|bo
)
if $at_work; then
if ping -q -c1 -w1 iank.vpn.office.fsf.org &>/dev/null; then
home=iank.vpn.office.fsf.org
if $at_work; then
if ping -q -c1 -w1 iank.vpn.office.fsf.org &>/dev/null; then
home=iank.vpn.office.fsf.org
@@
-195,7
+195,7
@@
if [[ ! -v targets && ! $source ]]; then
kw)
targets+=($home x3)
;;
kw)
targets+=($home x3)
;;
- x2|x3|sy)
+ x2|x3|sy
|bo
)
targets+=($home)
if $at_work; then
targets+=(kw.office.fsf.org x2.b8.nz)
targets+=($home)
if $at_work; then
targets+=(kw.office.fsf.org x2.b8.nz)
@@
-205,11
+205,11
@@
if [[ ! -v targets && ! $source ]]; then
;;
kd)
targets+=(x2.b8.nz kw.b8.nz)
;;
kd)
targets+=(x2.b8.nz kw.b8.nz)
- #
# sy is unused
- # if ping -q -c1 -w1
sy
.b8.nz &>/dev/null; then
- # targets+=(
sy
.b8.nz)
+ #
temporarily disabled while doing maint
+ # if ping -q -c1 -w1
bo
.b8.nz &>/dev/null; then
+ # targets+=(
bo
.b8.nz)
# else
# else
- # targets+=(
sy
w.b8.nz)
+ # targets+=(
bo
w.b8.nz)
# fi
;;
frodo)
# fi
;;
frodo)