X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup-remote;h=d67035b797bec5979cc256493e4496477885863f;hb=7386cdbee20dd73095264e2ad0ead433f97ac946;hp=57e2c599d8b59fb9ae03701b7579f5fffb481ec4;hpb=bf19e9969f50a637c8fabf724eb9e292da472e01;p=automated-distro-installer diff --git a/wrt-setup-remote b/wrt-setup-remote index 57e2c59..d67035b 100755 --- 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 -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 @@ -30,6 +30,6 @@ if ! opkg list-installed|grep bash; then opkg update opkg install bash fi -export IMPERSONAL_DOMAIN=$IMPERSONAL_DOMAIN +export HOME_DOMAIN=$HOME_DOMAIN wrt-setup EOF