#!/bin/bash # to download and install # wget -q --user guest --password killer23 -O - https://files.openwrt.host/auto/installNotify | bash ARCH=$1 if [ -z $ARCH ]; then ARCH=$(uname -m) echo "Auto Detecting plattform: $ARCH" fi if [ $ARCH = "aarch64" ]; then ARCH=ntfy-arm64 elif [ $ARCH = "x86_64" ]; then ARCH=ntfy-amd64 else echo "bad input" exit 0 fi echo "Downloading and installing wormhole..." wget -q --user guest --password killer23 https://files.openwrt.host/auto/ntfy/$ARCH -O /usr/bin/ntfy chmod +x /usr/bin/ntfy echo "done"