mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 01:05:13 +08:00
🦄 Sync 2026-04-24 02:45:08
This commit is contained in:
1 parent
105515a7d5
commit
3681e718bc
180 files changed
+4684
-28638
No files matched your search
@@ -2,10 +2,8 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-pingcontrol
|
||||
LUCI_DEPENDS:=+pingcontrol
|
||||
|
||||
PKG_VERSION:=1
|
||||
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
|
||||
LUCI_TITLE:=LuCI network interface control
|
||||
|
||||
|
||||
@@ -43,6 +43,9 @@ return view.extend({
|
||||
o = s.taboption('general',form.DynamicList, 'testip', _('IP address or hostname of test servers'));
|
||||
o.datatype = 'or(hostname,ipaddr("nomask"))';
|
||||
|
||||
o = s.taboption('general',form.Flag, 'ping_silent', _('Silent mode'), _('Do not log success ping'));
|
||||
|
||||
|
||||
o = s.taboption('general',form.Value, 'check_period', _('Period of check, sec'));
|
||||
o.rmempty = false;
|
||||
o.datatype = 'and(uinteger,min(20))';
|
||||
|
||||
@@ -10,6 +10,12 @@ msgstr "Интерфейс для ping-запросов"
|
||||
msgid "IP address or hostname of test servers"
|
||||
msgstr "IP-адрес или имя хоста тестовых серверов"
|
||||
|
||||
msgid "Silent mode"
|
||||
msgstr "Тихий режим"
|
||||
|
||||
msgid "Do not log success ping"
|
||||
msgstr "Не журналировать успешные попытки"
|
||||
|
||||
msgid "Failed attempts before iface up/down"
|
||||
msgstr "Количество неудачных попыток до переподключения интерфейса"
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"admin/services/pingcontrol": {
|
||||
"title": "Pingcontrol",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "pingcontrol/pingcontrol"
|
||||
|
||||
Reference in new issue
Block a user