X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=e6e5f284509e5999e58cabe217ef497cf6f595f1;hb=3f20eea52b8d7f665b2c3b483921f15a0e48d7ee;hp=746b16f29e84966720cbe21bcb4427b548958d4d;hpb=11a2db1a576e78f58af7f1e7e4c83422635b630d;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index 746b16f..e6e5f28 100755 --- a/wrt-setup +++ b/wrt-setup @@ -23,28 +23,57 @@ x="$(readlink -f "$BASH_SOURCE")"; cd ${x%/*} usage() { cat </dev/null -scp /a/bin/fai/wrt-setup-local /a/bin/cedit/cedit $h:/usr/bin -ssh $h </etc/opkg/customfeeds.conf <<'EOF' +src/gz openwrt_packages http://downloads.openwrt.org/releases/19.07.2/packages/mips_24kc/packages +EOF + if ! opkg list-installed|grep bash; then opkg update opkg install bash fi export HOME_DOMAIN=$HOME_DOMAIN -wrt-setup-local -EOF +export WIRELESSMAC=$WIRELESSMAC +wrt-setup-local $@ +EOFOUTER