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