#!/bin/sh
sed -i '/E750_ipk/d' /etc/opkg/customfeeds.conf
echo "src/gz E750_ipk http://www.mypes.online/mips_24kc" >>/etc/opkg/customfeeds.conf
opkg update
action="$1"
case "${action}" in
passwall)
	opkg install luci luci-i18n-base-zh-cn luci-i18n-opkg-zh-cn trojan xray-core xray-plugin luci-i18n-base-zh-cn luci-app-passwall
	;;
esac
