iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add syncthing port forward
[automated-distro-installer]
/
wrt-setup-remote
diff --git
a/wrt-setup-remote
b/wrt-setup-remote
index 57e2c599d8b59fb9ae03701b7579f5fffb481ec4..d67035b797bec5979cc256493e4496477885863f 100755
(executable)
--- a/
wrt-setup-remote
+++ b/
wrt-setup-remote
@@
-21,7
+21,7
@@
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
-cd "${BASH_SOURCE%/*}"
+x="$(readlink -f "$BASH_SOURCE")"; cd ${x%/*}
h=root@192.168.1.1
scp /a/bin/fai/wrt-setup /a/bin/cedit/cedit $h:/usr/bin
h=root@192.168.1.1
scp /a/bin/fai/wrt-setup /a/bin/cedit/cedit $h:/usr/bin
@@
-30,6
+30,6
@@
if ! opkg list-installed|grep bash; then
opkg update
opkg install bash
fi
opkg update
opkg install bash
fi
-export
IMPERSONAL_DOMAIN=$IMPERSONAL
_DOMAIN
+export
HOME_DOMAIN=$HOME
_DOMAIN
wrt-setup
EOF
wrt-setup
EOF