From 51f836b77c3ea72258cb670a7d4c93b316df8a30 Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 25 Nov 2023 04:31:02 +0000 Subject: [PATCH] Update 'files/etc/stage3.sh' --- files/etc/stage3.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/files/etc/stage3.sh b/files/etc/stage3.sh index 8abea69..c9169e0 100755 --- a/files/etc/stage3.sh +++ b/files/etc/stage3.sh @@ -50,6 +50,20 @@ wait_for_opkg() { log_say "opkg is released, our turn!" } +# Always install our repo's public key to the router +log_say "Installing PrivateRouter repo public key" +wget -qO /tmp/public.key https://repo.privaterouter.com/public.key +opkg-key add /tmp/public.key +rm /tmp/public.key + +# Always update the repo +log_say "Add PrivateRouter repo" +sed -i '/privaterouter_repo/d' /etc/opkg/customfeeds.conf +echo "src/gz privaterouter_repo https://repo.privaterouter.com" >> /etc/opkg/customfeeds.conf + +# Temp fix to remove v2raya repo until we can find a backup +sed -i '/v2raya/d' /etc/opkg/customfeeds.conf + # Wait for opkg to finish wait_for_opkg @@ -101,7 +115,7 @@ wait_for_opkg opkg install luci-theme-bootstrap kmod-usb-storage kmod-usb-ohci kmod-usb-uhci e2fsprogs fdisk resize2fs htop debootstrap luci-compat luci-lib-ipkg opkg install bash wget kmod-usb-net-rndis luci-app-commands rpcd-mod-luci kmod-usb-net-cdc-eem opkg install kmod-usb-net-cdc-ether kmod-usb-net-cdc-subset kmod-nls-base kmod-usb-core kmod-usb-net kmod-usb-net-cdc-ether kmod-usb2 kmod-usb-net-ipheth libimobiledevice luci-app-nlbwmon luci-app-adblock - opkg install nano + opkg install nano git jq ## Remove DNSMasq opkg remove dnsmasq