shellcheck, static usb ethnet addresses, fix vpn config
[distro-setup] / btrbk-run
index b4bd302918c0a559328ee8d3fa8a7e07c95f87e9..8fc4c4f00b8c9f5ea3b64126767c83003e675643 100644 (file)
--- a/btrbk-run
+++ b/btrbk-run
@@ -77,6 +77,7 @@ set-location() {
     x2|x3|sy|so)
       if [[ $(dig +short @10.2.0.1 -x 10.2.0.2 2>&1 ||:) == kd.b8.nz. ]] \
            && ip n show 10.2.0.1 | grep . &>/dev/null; then
+        # note: logic duplicated in 11-iank
         at_home=true
       elif ping -q -c1 -w1 hal.office.fsf.org &>/dev/null \
           && ip n show 192.168.0.26 | grep . &>/dev/null; then