Files
openwrt-image-buildomatic/configs/archer-c7-v5
2023-12-09 14:57:06 +05:00

33 lines
911 B
Bash

#!/bin/sh
# Archer C7 v5 configuration for openwrt-image-buildomatic
# Running OpenWRT image builder 18.06 on Ubuntu 20.04 requires at least:
# sudo apt install python2 libncurses5-dev
#RELEASE=${RELEASE_18_06}
#RELEASE=${RELEASE_19_07}
#RELEASE=${RELEASE_21_02}
RELEASE=${RELEASE_23_05}
if [ -z "${RELEASE}" ]; then echo "RELEASE is empty"; return 1; fi
# See targets here: https://downloads.openwrt.org/snapshots/targets
#
# device can be built with one of two TARGETs:
# ar71xx/generic is usable for releases 17.01, 18.06, 19.07
# ath79/generic is usable for releases 19.07, 21.02
if echo "${RELEASE}" | grep -q "18.06"; then
TARGET=ath79/generic
PROFILE="tplink_archer-c7-v5"
else
TARGET=ath79/generic
PROFILE="tplink_archer-c7-v5"
fi
# This package list works for releases 18.06, 19.07 and 21.02
PACKAGES="luci"
FILES="archer-c7-v5-files"
DISABLED_SERVICES=""