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
various fixes
[automated-distro-installer]
/
wrt-setup-remote
diff --git
a/wrt-setup-remote
b/wrt-setup-remote
index 12f65673433294436ce3dc8b59c40bc123fc0d34..7bbdea6e41cf4f90336e13ed47f0f3e22bff52db 100755
(executable)
--- a/
wrt-setup-remote
+++ b/
wrt-setup-remote
@@
-4,7
+4,7
@@
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
h=root@192.168.1.1
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
h=root@192.168.1.1
-scp /a/bin/fai/wrt-setup /a/bin/
bash-programs-by-ian/repos/
cedit/cedit $h:/usr/bin
+scp /a/bin/fai/wrt-setup /a/bin/cedit/cedit $h:/usr/bin
ssh $h <<'EOF'
if ! opkg list-installed|grep bash; then
opkg update
ssh $h <<'EOF'
if ! opkg list-installed|grep bash; then
opkg update