X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=3c572f29b3ef49f95a92ea277e2a01d746ea26b8;hb=cef9b6ede5c1e028bed1b4dc7895f5dfa121ad6b;hp=746b16f29e84966720cbe21bcb4427b548958d4d;hpb=c47175685b348735b3440e16851dde2cc39b6f3f;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index 746b16f..3c572f2 100755 --- a/wrt-setup +++ b/wrt-setup @@ -23,28 +23,58 @@ 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