Trying to make uci network configuration one time #22

Merged
PeterSurda merged 2 commits from lee.miller/openwrt:defaults into main 2023-02-16 11:45:05 +01:00
Collaborator

Hi!

This is for #21. To apply the network defaults once.

Hi! This is for #21. To apply the network defaults once.
lee.miller added 1 commit 2023-02-15 02:44:23 +01:00
PeterSurda requested changes 2023-02-15 03:43:10 +01:00
@ -1,3 +1,5 @@
[ "$(uci -q get firewall.@rule[-1].name)" = "Allow-SSH" ] && exit 0
Owner

This may not work if I add more rules (manually) later.

This may not work if I add more rules (manually) later.
lee.miller added 1 commit 2023-02-16 01:51:19 +01:00
Set a custom uci option to determine applied defaults
All checks were successful
buildbot/travis_bionic Build done.
buildbot/multibuild_parent Build done.
buildbot/job/openwrt Build done.
44c6ed93c4
PeterSurda approved these changes 2023-02-16 11:44:38 +01:00
PeterSurda left a comment
Owner

This looks ok to me.

This looks ok to me.
PeterSurda merged commit 44c6ed93c4 into main 2023-02-16 11:45:05 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/openwrt#22
No description provided.