From b098f88febb9d84d5b7cb6d2d287315fdb4bf623 Mon Sep 17 00:00:00 2001 From: Daniel Bozeman Date: Wed, 25 Jun 2025 16:19:32 -0700 Subject: [PATCH] remove legacy openwrt install script --- docs/setup-sensor/linux/openwrt.md | 8 ------- scripts/openwrt/setup.sh | 38 ------------------------------ 2 files changed, 46 deletions(-) delete mode 100644 scripts/openwrt/setup.sh diff --git a/docs/setup-sensor/linux/openwrt.md b/docs/setup-sensor/linux/openwrt.md index cc0203d..13ffdb2 100644 --- a/docs/setup-sensor/linux/openwrt.md +++ b/docs/setup-sensor/linux/openwrt.md @@ -74,14 +74,6 @@ Congratulations! Your OpenWrt device is now running as an Orb Sensor, monitoring - Check firewall settings on the OpenWrt device (System > Firewall in LuCI) to ensure they aren't blocking discovery (mDNS/Bonjour, UDP port 5353). The default OpenWrt firewall settings usually allow this on the LAN side. - **General OpenWrt Issues:** Refer to the official [OpenWrt Documentation](https://openwrt.org/docs/start). -## Automatic Installation - -For a simple setup, use the one-line setup script. - -```bash -curl -fsSL https://orb.net/docs/scripts/openwrt/setup.sh | sh -``` - ## Manual Installation These instructions provide the manual steps for installing Orb on OpenWrt. diff --git a/scripts/openwrt/setup.sh b/scripts/openwrt/setup.sh deleted file mode 100644 index 51dc972..0000000 --- a/scripts/openwrt/setup.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -ARCHITECTURE=$(opkg info busybox | awk '$1 == "Architecture:" { print $2; exit }') -URL="https://pkgs.orb.net/stable/openwrt/$ARCHITECTURE" -KEY_URL="https://pkgs.orb.net/stable/openwrt/key.pub" -KEY_PATH="/etc/opkg/keys/744a82bfef3c5690" -ORB_BINARY="/usr/bin/orb" -FEED_LINE="src/gz orb_packages $URL" -FEED_CONF="/etc/opkg/customfeeds.conf" - -# Create persistent orb config directory -mkdir -p /overlay/orb -mkdir -p /.config -[ -L /.config/orb ] || ln -s /overlay/orb /.config/orb - -# Add orb feed -grep -Fxq "$FEED_LINE" "$FEED_CONF" || echo "$FEED_LINE" >> "$FEED_CONF" - -# Fetch and install key -wget -q -O "$KEY_PATH" "$KEY_URL" || { - echo "Failed to download key from $KEY_URL" - exit 1 -} - -# Install orb -opkg update -opkg install orb || { - echo "Failed to install orb package" - exit 1 -} - -# Set up auto-updates -if [ -x "$ORB_BINARY" ]; then - /usr/bin/orb-update install -else - echo "Orb binary not found or not executable at $ORB_BINARY" - exit 1 -fi