Changes for OpenWrt 21.02

This commit is contained in:
gSpot
2021-12-05 18:58:48 +03:00
parent a554668306
commit 54f13984a3
6 changed files with 38 additions and 23 deletions

View File

@@ -5,7 +5,28 @@ OpenWrt >= 19.07.
Dependences: lua, luci-lib-nixio, libuci-lua
**Installation notes:**
## Installation notes
**OpenWrt >= 21.02:**
wget --no-check-certificate -O /tmp/internet-detector_0.3.0-2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector_0.3.0-2_all.ipk
opkg install /tmp/internet-detector_0.3.0-2_all.ipk
rm /tmp/internet-detector_0.3.0-2_all.ipk
/etc/init.d/internet-detector start
/etc/init.d/internet-detector enable
wget --no-check-certificate -O /tmp/luci-app-internet-detector_0.3.0-3_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-internet-detector_0.3.0-3_all.ipk
opkg install /tmp/luci-app-internet-detector_0.3.0-3_all.ipk
rm /tmp/luci-app-internet-detector_0.3.0-3_all.ipk
/etc/init.d/rpcd restart
i18n-ru:
wget --no-check-certificate -O /tmp/luci-i18n-internet-detector-ru_0.3.0-3_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-internet-detector-ru_0.3.0-3_all.ipk
opkg install /tmp/luci-i18n-internet-detector-ru_0.3.0-3_all.ipk
rm /tmp/luci-i18n-internet-detector-ru_0.3.0-3_all.ipk
**OpenWrt 19.07:**
wget --no-check-certificate -O /tmp/internet-detector_0.3.0-1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/19.07/internet-detector_0.3.0-1_all.ipk
opkg install /tmp/internet-detector_0.3.0-1_all.ipk
@@ -16,15 +37,15 @@ Dependences: lua, luci-lib-nixio, libuci-lua
wget --no-check-certificate -O /tmp/luci-app-internet-detector_0.3.0-2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/19.07/luci-app-internet-detector_0.3.0-2_all.ipk
opkg install /tmp/luci-app-internet-detector_0.3.0-2_all.ipk
rm /tmp/luci-app-internet-detector_0.3.0-2_all.ipk
/etc/init.d/rpcd reload
/etc/init.d/rpcd restart
**i18n-ru:**
i18n-ru:
wget --no-check-certificate -O /tmp/luci-i18n-internet-detector-ru_0.3.0-2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/19.07/luci-i18n-internet-detector-ru_0.3.0-2_all.ipk
opkg install /tmp/luci-i18n-internet-detector-ru_0.3.0-2_all.ipk
rm /tmp/luci-i18n-internet-detector-ru_0.3.0-2_all.ipk
**Script for LED control:**
## Script for LED control:
![](https://github.com/gSpotx2f/luci-app-internet-detector/blob/master/screenshots/internet-led.jpg)
@@ -38,7 +59,7 @@ LED is on when Internet is available. A specific LED can be set in `/etc/interne
uci commit
/etc/init.d/internet-detector restart
### Screenshots:
## Screenshots:
![](https://github.com/gSpotx2f/luci-app-internet-detector/blob/master/screenshots/01.jpg)
![](https://github.com/gSpotx2f/luci-app-internet-detector/blob/master/screenshots/03.jpg)