mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 04:43:56 +08:00
🏅 Sync 2026-10-10 12:03:15
This commit is contained in:
1 parent
ad68a3cd65
commit
f080de4b89
109 files changed
+72311
-621
No files matched your search
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-interfaces-statistics
|
||||
PKG_VERSION:=0.4.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
LUCI_TITLE:=Network interfaces statistics
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_LICENSE:=MIT
|
||||
|
||||
@@ -7,29 +7,29 @@ OpenWrt >= 21.02.
|
||||
|
||||
**OpenWrt >= 25.12:**
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-app-interfaces-statistics-0.4.2-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-interfaces-statistics-0.4.2-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-app-interfaces-statistics-0.4.2-r1.apk
|
||||
rm /tmp/luci-app-interfaces-statistics-0.4.2-r1.apk
|
||||
wget --no-check-certificate -O /tmp/luci-app-interfaces-statistics-0.4.2-r2.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-interfaces-statistics-0.4.2-r2.apk
|
||||
apk --allow-untrusted add /tmp/luci-app-interfaces-statistics-0.4.2-r2.apk
|
||||
rm /tmp/luci-app-interfaces-statistics-0.4.2-r2.apk
|
||||
service rpcd restart
|
||||
|
||||
i18n-ru:
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-interfaces-statistics-ru-0.4.2-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-interfaces-statistics-ru-0.4.2-r1.apk
|
||||
apk --allow-untrusted add /tmp/luci-i18n-interfaces-statistics-ru-0.4.2-r1.apk
|
||||
rm /tmp/luci-i18n-interfaces-statistics-ru-0.4.2-r1.apk
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-interfaces-statistics-ru-0.4.2-r2.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-interfaces-statistics-ru-0.4.2-r2.apk
|
||||
apk --allow-untrusted add /tmp/luci-i18n-interfaces-statistics-ru-0.4.2-r2.apk
|
||||
rm /tmp/luci-i18n-interfaces-statistics-ru-0.4.2-r2.apk
|
||||
|
||||
**OpenWrt <= 24.10:**
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-app-interfaces-statistics_0.4.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-interfaces-statistics_0.4.2-r1_all.ipk
|
||||
opkg install /tmp/luci-app-interfaces-statistics_0.4.2-r1_all.ipk
|
||||
rm /tmp/luci-app-interfaces-statistics_0.4.2-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/luci-app-interfaces-statistics_0.4.2-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-interfaces-statistics_0.4.2-r2_all.ipk
|
||||
opkg install /tmp/luci-app-interfaces-statistics_0.4.2-r2_all.ipk
|
||||
rm /tmp/luci-app-interfaces-statistics_0.4.2-r2_all.ipk
|
||||
service rpcd restart
|
||||
|
||||
i18n-ru:
|
||||
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-interfaces-statistics-ru_0.4.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-interfaces-statistics-ru_0.4.2-r1_all.ipk
|
||||
opkg install /tmp/luci-i18n-interfaces-statistics-ru_0.4.2-r1_all.ipk
|
||||
rm /tmp/luci-i18n-interfaces-statistics-ru_0.4.2-r1_all.ipk
|
||||
wget --no-check-certificate -O /tmp/luci-i18n-interfaces-statistics-ru_0.4.2-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-interfaces-statistics-ru_0.4.2-r2_all.ipk
|
||||
opkg install /tmp/luci-i18n-interfaces-statistics-ru_0.4.2-r2_all.ipk
|
||||
rm /tmp/luci-i18n-interfaces-statistics-ru_0.4.2-r2_all.ipk
|
||||
|
||||
## Screenshots:
|
||||
|
||||
|
||||
+2
-2
@@ -59,12 +59,12 @@ return view.extend({
|
||||
update() {
|
||||
return this.callNetDevice().then(ifacesData => {
|
||||
this.setIfacesData(ifacesData);
|
||||
}).catch(e => ui.addNotification(null, E('p', {}, e.message)));
|
||||
}).catch(e => ui.addNotification(null, E('p', {}, e.message), 'warning'));
|
||||
},
|
||||
|
||||
load() {
|
||||
return this.callNetDevice().catch(
|
||||
e => ui.addNotification(null, E('p', {}, e.message)));
|
||||
e => ui.addNotification(null, E('p', {}, e.message), 'warning'));
|
||||
},
|
||||
|
||||
render(ifacesData) {
|
||||
|
||||
Reference in new issue
Block a user