This script creates a service that automatically downloads Xray Core when the router boots up. It sets up Xray as a service, ensuring it runs consistently on startup.
All ramips-mt7621 devices also known as mipsel_24kc, list of supported devices.
The instructions provided suggest installing Passwall on your device. The recommended method is to follow the instructions in the repository "MoetaYuko/openwrt-passwall-build". Alternatively, if you know the exact model and architecture of your device, you can download the latest release from the binary files of the Passwall main repository at "xiaorouji/openwrt-passwall".
wget https://raw.githubusercontent.com/mohamadkhalaj/xray-service/main/install.sh && chmod +x install.sh && sh install.sh
To apply the changes, you can run the following command to download the Xray binary file. Alternatively, you can simply reboot your device and wait for 90 seconds after boot for the download to start.
sh /root/xray_service.sh
Change the Xray App Path
to /tmp/usr/bin/xray
and click Save & Apply
button.