iankelling.org
/
git
/
automated-distro-installer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f856a11
)
rename err to bash-bear
author
Ian Kelling
<iank@fsf.org>
Mon, 18 Dec 2023 21:04:33 +0000
(16:04 -0500)
committer
Ian Kelling
<iank@fsf.org>
Mon, 18 Dec 2023 21:04:33 +0000
(16:04 -0500)
wrt-setup
patch
|
blob
|
history
wrt-setup-local
patch
|
blob
|
history
diff --git
a/wrt-setup
b/wrt-setup
index bf663b96d51498c1600b0a7a17a3dd730a508844..83b1c76f6a29d8d0f30890e491f7b5996feb7947 100755
(executable)
--- a/
wrt-setup
+++ b/
wrt-setup
@@
-77,7
+77,7
@@
scp /a/work/libremanage/libremanage /a/bin/fai/wrt-init /a/bin/fai/wrt-setup-loc
#/a/opt/openwrt/source/bin/packages/mips_24kc/mypackages/relay_1.0-1_mips_24kc.ipk \
scp /q/root/shadow/router /p/c/machine_specific/wrt/etc/dropbear/dropbear_rsa_host_key \
#/a/opt/openwrt/source/bin/packages/mips_24kc/mypackages/relay_1.0-1_mips_24kc.ipk \
scp /q/root/shadow/router /p/c/machine_specific/wrt/etc/dropbear/dropbear_rsa_host_key \
- /p/router-secrets /p/c/machine_specific/wrt/etc/wg.{key,psk} /b/ds/ptr-data /b/
errhandle/er
r $h:
+ /p/router-secrets /p/c/machine_specific/wrt/etc/wg.{key,psk} /b/ds/ptr-data /b/
bash-bear-trap/bash-bea
r $h:
scp ../openwrtkeyring/usign/* $h:/etc/opkg/keys
ssh $h wrt-init ${HOME_DOMAIN:-b8.nz} "$@"
scp ../openwrtkeyring/usign/* $h:/etc/opkg/keys
ssh $h wrt-init ${HOME_DOMAIN:-b8.nz} "$@"
diff --git
a/wrt-setup-local
b/wrt-setup-local
index 8b53702f3a0eb8eeebff81791a902be47fd242f2..39321173d639f6295e1309cdafe2d296779e387f 100755
(executable)
--- a/
wrt-setup-local
+++ b/
wrt-setup-local
@@
-16,7
+16,7
@@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-f=/usr/local/lib/
er
r;test -r $f || { echo "error: $0 no $f" >&2;exit 1;}; . $f
+f=/usr/local/lib/
bash-bea
r;test -r $f || { echo "error: $0 no $f" >&2;exit 1;}; . $f
usage() {
cat <<EOF
usage() {
cat <<EOF