3 Commits

Author SHA1 Message Date
EugeneTM
d91b8929de fix var names in config import (#35)
Исправлены названия переменных для корректного импорта текстовой конфигурации
2025-03-27 21:21:14 +07:00
Slava-Shchipunov
33e363e9d9 feat: disable sync owrt releases 2025-03-13 09:24:17 +07:00
Slava-Shchipunov
3d865a8d4d feat: disable build to snapshots 2025-03-13 09:22:29 +07:00
3 changed files with 14 additions and 14 deletions

View File

@@ -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:

View File

@@ -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:
@@ -63,4 +63,4 @@ jobs:
if: needs.sync-releases.outputs.release_exists == 'false' if: needs.sync-releases.outputs.release_exists == 'false'
uses: Slava-Shchipunov/awg-openwrt/.github/workflows/build-module.yml@master uses: Slava-Shchipunov/awg-openwrt/.github/workflows/build-module.yml@master
with: with:
tag_name: ${{ needs.sync-releases.outputs.release_tag }} tag_name: ${{ needs.sync-releases.outputs.release_tag }}

View File

@@ -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);