mirror of
https://github.com/gSpotx2f/luci-app-internet-detector.git
synced 2025-12-06 11:36:49 +03:00
Added instance description option.
This commit is contained in:
36
README.md
36
README.md
@@ -20,22 +20,22 @@ Internet-detector is an application for checking the availability of the Interne
|
|||||||
## Installation notes:
|
## Installation notes:
|
||||||
|
|
||||||
opkg update
|
opkg update
|
||||||
wget --no-check-certificate -O /tmp/internet-detector_1.6.3-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector_1.6.3-r1_all.ipk
|
wget --no-check-certificate -O /tmp/internet-detector_1.6.4-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector_1.6.4-r1_all.ipk
|
||||||
opkg install /tmp/internet-detector_1.6.3-r1_all.ipk
|
opkg install /tmp/internet-detector_1.6.4-r1_all.ipk
|
||||||
rm /tmp/internet-detector_1.6.3-r1_all.ipk
|
rm /tmp/internet-detector_1.6.4-r1_all.ipk
|
||||||
service internet-detector start
|
service internet-detector start
|
||||||
service internet-detector enable
|
service internet-detector enable
|
||||||
|
|
||||||
wget --no-check-certificate -O /tmp/luci-app-internet-detector_1.6.3-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-internet-detector_1.6.3-r1_all.ipk
|
wget --no-check-certificate -O /tmp/luci-app-internet-detector_1.6.4-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-app-internet-detector_1.6.4-r1_all.ipk
|
||||||
opkg install /tmp/luci-app-internet-detector_1.6.3-r1_all.ipk
|
opkg install /tmp/luci-app-internet-detector_1.6.4-r1_all.ipk
|
||||||
rm /tmp/luci-app-internet-detector_1.6.3-r1_all.ipk
|
rm /tmp/luci-app-internet-detector_1.6.4-r1_all.ipk
|
||||||
service rpcd restart
|
service rpcd restart
|
||||||
|
|
||||||
i18n-ru:
|
i18n-ru:
|
||||||
|
|
||||||
wget --no-check-certificate -O /tmp/luci-i18n-internet-detector-ru_1.6.3-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-internet-detector-ru_1.6.3-r1_all.ipk
|
wget --no-check-certificate -O /tmp/luci-i18n-internet-detector-ru_1.6.4-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/luci-i18n-internet-detector-ru_1.6.4-r1_all.ipk
|
||||||
opkg install /tmp/luci-i18n-internet-detector-ru_1.6.3-r1_all.ipk
|
opkg install /tmp/luci-i18n-internet-detector-ru_1.6.4-r1_all.ipk
|
||||||
rm /tmp/luci-i18n-internet-detector-ru_1.6.3-r1_all.ipk
|
rm /tmp/luci-i18n-internet-detector-ru_1.6.4-r1_all.ipk
|
||||||
|
|
||||||
## Screenshots:
|
## Screenshots:
|
||||||
|
|
||||||
@@ -47,9 +47,9 @@ i18n-ru:
|
|||||||
|
|
||||||
**Dependences:** modemmanager.
|
**Dependences:** modemmanager.
|
||||||
|
|
||||||
wget --no-check-certificate -O /tmp/internet-detector-mod-modem-restart_1.6.3-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-modem-restart_1.6.3-r1_all.ipk
|
wget --no-check-certificate -O /tmp/internet-detector-mod-modem-restart_1.6.4-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-modem-restart_1.6.4-r1_all.ipk
|
||||||
opkg install /tmp/internet-detector-mod-modem-restart_1.6.3-r1_all.ipk
|
opkg install /tmp/internet-detector-mod-modem-restart_1.6.4-r1_all.ipk
|
||||||
rm /tmp/internet-detector-mod-modem-restart_1.6.3-r1_all.ipk
|
rm /tmp/internet-detector-mod-modem-restart_1.6.4-r1_all.ipk
|
||||||
service internet-detector restart
|
service internet-detector restart
|
||||||
|
|
||||||

|

|
||||||
@@ -58,9 +58,9 @@ i18n-ru:
|
|||||||
|
|
||||||
**Dependences:** mailsend.
|
**Dependences:** mailsend.
|
||||||
|
|
||||||
wget --no-check-certificate -O /tmp/internet-detector-mod-email_1.6.3-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-email_1.6.3-r1_all.ipk
|
wget --no-check-certificate -O /tmp/internet-detector-mod-email_1.6.4-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-email_1.6.4-r1_all.ipk
|
||||||
opkg install /tmp/internet-detector-mod-email_1.6.3-r1_all.ipk
|
opkg install /tmp/internet-detector-mod-email_1.6.4-r1_all.ipk
|
||||||
rm /tmp/internet-detector-mod-email_1.6.3-r1_all.ipk
|
rm /tmp/internet-detector-mod-email_1.6.4-r1_all.ipk
|
||||||
service internet-detector restart
|
service internet-detector restart
|
||||||
|
|
||||||

|

|
||||||
@@ -69,9 +69,9 @@ i18n-ru:
|
|||||||
|
|
||||||
**Dependences:** curl.
|
**Dependences:** curl.
|
||||||
|
|
||||||
wget --no-check-certificate -O /tmp/internet-detector-mod-telegram_1.6.3-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-telegram_1.6.3-r1_all.ipk
|
wget --no-check-certificate -O /tmp/internet-detector-mod-telegram_1.6.4-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/current/internet-detector-mod-telegram_1.6.4-r1_all.ipk
|
||||||
opkg install /tmp/internet-detector-mod-telegram_1.6.3-r1_all.ipk
|
opkg install /tmp/internet-detector-mod-telegram_1.6.4-r1_all.ipk
|
||||||
rm /tmp/internet-detector-mod-telegram_1.6.3-r1_all.ipk
|
rm /tmp/internet-detector-mod-telegram_1.6.4-r1_all.ipk
|
||||||
service internet-detector restart
|
service internet-detector restart
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=internet-detector-mod-email
|
PKG_NAME:=internet-detector-mod-email
|
||||||
PKG_VERSION:=1.6.3
|
PKG_VERSION:=1.6.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=internet-detector-mod-modem-restart
|
PKG_NAME:=internet-detector-mod-modem-restart
|
||||||
PKG_VERSION:=1.6.3
|
PKG_VERSION:=1.6.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=internet-detector-mod-telegram
|
PKG_NAME:=internet-detector-mod-telegram
|
||||||
PKG_VERSION:=1.6.3
|
PKG_VERSION:=1.6.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=internet-detector
|
PKG_NAME:=internet-detector
|
||||||
PKG_VERSION:=1.6.3
|
PKG_VERSION:=1.6.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/luci-app-internet-detector>
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ config main 'config'
|
|||||||
|
|
||||||
config instance 'internet'
|
config instance 'internet'
|
||||||
option enabled '1'
|
option enabled '1'
|
||||||
|
option description 'Default instance'
|
||||||
list hosts '8.8.8.8'
|
list hosts '8.8.8.8'
|
||||||
list hosts '1.1.1.1'
|
list hosts '1.1.1.1'
|
||||||
option check_type '0'
|
option check_type '0'
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=luci-app-internet-detector
|
PKG_NAME:=luci-app-internet-detector
|
||||||
PKG_VERSION:=1.6.3
|
PKG_VERSION:=1.6.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
LUCI_TITLE:=LuCI support for internet-detector
|
LUCI_TITLE:=LuCI support for internet-detector
|
||||||
LUCI_DEPENDS:=+internet-detector
|
LUCI_DEPENDS:=+internet-detector
|
||||||
|
|||||||
@@ -762,14 +762,11 @@ return view.extend({
|
|||||||
list.value(2000, '2 ' + _('sec'));
|
list.value(2000, '2 ' + _('sec'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// enabled
|
// description
|
||||||
o = s.taboption('main', form.Flag, 'enabled',
|
o = s.taboption('main', form.Value, 'description',
|
||||||
_('Enabled'),
|
_("Description"));
|
||||||
);
|
o.datatype = 'maxlength(30)';
|
||||||
o.rmempty = false;
|
o.modalonly = null;
|
||||||
o.default = '1';
|
|
||||||
o.editable = true;
|
|
||||||
o.modalonly = false;
|
|
||||||
|
|
||||||
// hosts
|
// hosts
|
||||||
o = s.taboption('main', form.DynamicList,
|
o = s.taboption('main', form.DynamicList,
|
||||||
@@ -869,6 +866,15 @@ return view.extend({
|
|||||||
o.value(10, '10 ' + _('sec'));
|
o.value(10, '10 ' + _('sec'));
|
||||||
o.default = '2';
|
o.default = '2';
|
||||||
|
|
||||||
|
// enabled
|
||||||
|
o = s.taboption('main', form.Flag, 'enabled',
|
||||||
|
_('Enabled'),
|
||||||
|
);
|
||||||
|
o.rmempty = false;
|
||||||
|
o.default = '1';
|
||||||
|
o.editable = true;
|
||||||
|
o.modalonly = false;
|
||||||
|
|
||||||
|
|
||||||
/* Modules */
|
/* Modules */
|
||||||
|
|
||||||
|
|||||||
@@ -112,6 +112,9 @@ msgstr "Отладка"
|
|||||||
msgid "Default port value for TCP connections."
|
msgid "Default port value for TCP connections."
|
||||||
msgstr "Стандартное значение порта для TCP-подключений."
|
msgstr "Стандартное значение порта для TCP-подключений."
|
||||||
|
|
||||||
|
msgid "Description"
|
||||||
|
msgstr "Описание"
|
||||||
|
|
||||||
msgid "Device"
|
msgid "Device"
|
||||||
msgstr "Устройство"
|
msgstr "Устройство"
|
||||||
|
|
||||||
|
|||||||
@@ -99,6 +99,9 @@ msgstr ""
|
|||||||
msgid "Default port value for TCP connections."
|
msgid "Default port value for TCP connections."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Description"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Device"
|
msgid "Device"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 124 KiB |
Reference in New Issue
Block a user