.......
wget https://www.virtualhere.com/sites/default/files/usbserver/$FILENAME
chmod +x $FILENAME
mv $FILENAME /usr/local/sbin
.................
you need to tweak the installation script, which is an easy job! After the script downloads the file, it moves it to the path: /usr/local/sbin. However this path does not exist on your router:
# find / -name sbin
/overlay/upper/sbin
/overlay/upper/usr/sbin
/rom/sbin
/rom/usr/sbin
/sbin
/usr/sbin
The script then tries to write a systemd file, but GL’s Openwrt does not have it! So it will fail again. You can however follow this guide to write your own simple startup service: [OpenWrt Wiki] procd init scripts
It is better to read the script steps one by one and then executing it on the shell by yourself.
1 Like