misc new stuff
[automated-distro-installer] / wrt-init
1 #!/bin/sh
2 set -x
3 # librecmc 1.5.1 is missing nfs-kernel-server and screen
4 source /etc/os-release
5 if [ "$ID" == librecmc ] && [ "$VERSION" == v1.5.1-core ]; then
6 cat >/etc/opkg/customfeeds.conf <<'EOF'
7 src/gz openwrt_packages http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/packages
8 fi
9 EOF
10 fi
11
12 if ! opkg list-installed|grep bash; then
13 opkg update
14 opkg install bash
15 fi
16 export HOME_DOMAIN=$1
17 shift
18 wrt-setup-local "$@"