mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-22 12:55:48 +00:00
Compare commits
3 Commits
draft-24.1
...
v24.10.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d91b8929de | ||
|
|
33e363e9d9 | ||
|
|
3d865a8d4d |
@@ -7,8 +7,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "SNAPSHOT"
|
- "SNAPSHOT"
|
||||||
schedule:
|
# schedule:
|
||||||
- cron: '0 */4 * * *'
|
# - cron: '0 */4 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
4
.github/workflows/run-release.yml
vendored
4
.github/workflows/run-release.yml
vendored
@@ -1,8 +1,8 @@
|
|||||||
name: Sync OpenWRT Releases
|
name: Sync OpenWRT Releases
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
# schedule:
|
||||||
- cron: '0 0 */3 * *' # Проверка новых релизов раз в три дня
|
# - cron: '0 0 */3 * *' # Проверка новых релизов раз в три дня
|
||||||
workflow_dispatch: # Возможность вручную запустить Action
|
workflow_dispatch: # Возможность вручную запустить Action
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -402,15 +402,15 @@ return network.registerProtocol('amneziawg', {
|
|||||||
s.getOption('public_key').getUIElement(s.section).setValue(keypair.pub);
|
s.getOption('public_key').getUIElement(s.section).setValue(keypair.pub);
|
||||||
s.getOption('listen_port').getUIElement(s.section).setValue(config.interface_listenport || '');
|
s.getOption('listen_port').getUIElement(s.section).setValue(config.interface_listenport || '');
|
||||||
s.getOption('addresses').getUIElement(s.section).setValue(config.interface_address);
|
s.getOption('addresses').getUIElement(s.section).setValue(config.interface_address);
|
||||||
s.getOption('awg_jc').getUIElement(s.section).setValue(config.awg_jc);
|
s.getOption('awg_jc').getUIElement(s.section).setValue(config.interface_jc);
|
||||||
s.getOption('awg_jmin').getUIElement(s.section).setValue(config.awg_jmin);
|
s.getOption('awg_jmin').getUIElement(s.section).setValue(config.interface_jmin);
|
||||||
s.getOption('awg_jmax').getUIElement(s.section).setValue(config.awg_jmax);
|
s.getOption('awg_jmax').getUIElement(s.section).setValue(config.interface_jmax);
|
||||||
s.getOption('awg_s1').getUIElement(s.section).setValue(config.awg_s1);
|
s.getOption('awg_s1').getUIElement(s.section).setValue(config.interface_s1);
|
||||||
s.getOption('awg_s2').getUIElement(s.section).setValue(config.awg_s2);
|
s.getOption('awg_s2').getUIElement(s.section).setValue(config.interface_s2);
|
||||||
s.getOption('awg_h1').getUIElement(s.section).setValue(config.awg_h1);
|
s.getOption('awg_h1').getUIElement(s.section).setValue(config.interface_h1);
|
||||||
s.getOption('awg_h2').getUIElement(s.section).setValue(config.awg_h2);
|
s.getOption('awg_h2').getUIElement(s.section).setValue(config.interface_h2);
|
||||||
s.getOption('awg_h3').getUIElement(s.section).setValue(config.awg_h3);
|
s.getOption('awg_h3').getUIElement(s.section).setValue(config.interface_h3);
|
||||||
s.getOption('awg_h4').getUIElement(s.section).setValue(config.awg_h4);
|
s.getOption('awg_h4').getUIElement(s.section).setValue(config.interface_h4);
|
||||||
|
|
||||||
if (config.interface_dns)
|
if (config.interface_dns)
|
||||||
s.getOption('dns').getUIElement(s.section).setValue(config.interface_dns);
|
s.getOption('dns').getUIElement(s.section).setValue(config.interface_dns);
|
||||||
|
|||||||
Reference in New Issue
Block a user