luci-app-internet-detector: fixed "edit instance"

This commit is contained in:
gSpot
2025-02-24 19:34:50 +03:00
parent 8ad9c5a086
commit d94260e7ec
3 changed files with 7 additions and 8 deletions

View File

@@ -21,16 +21,16 @@ Internet-detector is an application for checking the availability of the Interne
/etc/init.d/internet-detector start /etc/init.d/internet-detector start
/etc/init.d/internet-detector enable /etc/init.d/internet-detector enable
wget --no-check-certificate -O /tmp/luci-app-internet-detector_1.4.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-internet-detector_1.4.2-r1_all.ipk wget --no-check-certificate -O /tmp/luci-app-internet-detector_1.4.2-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-internet-detector_1.4.2-r2_all.ipk
opkg install /tmp/luci-app-internet-detector_1.4.2-r1_all.ipk opkg install /tmp/luci-app-internet-detector_1.4.2-r2_all.ipk
rm /tmp/luci-app-internet-detector_1.4.2-r1_all.ipk rm /tmp/luci-app-internet-detector_1.4.2-r2_all.ipk
/etc/init.d/rpcd restart /etc/init.d/rpcd restart
i18n-ru: i18n-ru:
wget --no-check-certificate -O /tmp/luci-i18n-internet-detector-ru_1.4.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-internet-detector-ru_1.4.2-r1_all.ipk wget --no-check-certificate -O /tmp/luci-i18n-internet-detector-ru_1.4.2-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-internet-detector-ru_1.4.2-r2_all.ipk
opkg install /tmp/luci-i18n-internet-detector-ru_1.4.2-r1_all.ipk opkg install /tmp/luci-i18n-internet-detector-ru_1.4.2-r2_all.ipk
rm /tmp/luci-i18n-internet-detector-ru_1.4.2-r1_all.ipk rm /tmp/luci-i18n-internet-detector-ru_1.4.2-r2_all.ipk
## Screenshots: ## Screenshots:

View File

@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-internet-detector PKG_NAME:=luci-app-internet-detector
PKG_VERSION:=1.4.2 PKG_VERSION:=1.4.2
PKG_RELEASE:=1 PKG_RELEASE:=2
LUCI_TITLE:=LuCI support for internet-detector LUCI_TITLE:=LuCI support for internet-detector
LUCI_DEPENDS:=+internet-detector LUCI_DEPENDS:=+internet-detector
LUCI_PKGARCH:=all LUCI_PKGARCH:=all

View File

@@ -779,7 +779,6 @@ return view.extend({
// led_name // led_name
o = ss.taboption('led' + i + '_tab', form.ListValue, 'mod_led_control_led' + i + '_name', o = ss.taboption('led' + i + '_tab', form.ListValue, 'mod_led_control_led' + i + '_name',
_('<abbr title="Light Emitting Diode">LED</abbr> Name')); _('<abbr title="Light Emitting Diode">LED</abbr> Name'));
o.depends({ mod_led_control_enabled: '1' });
o.modalonly = true; o.modalonly = true;
if(i > 1) { if(i > 1) {
o.rmempty = true; o.rmempty = true;