gateway.d: Add script to set wan vlan/interface #88
No reviewers
Labels
No Label
RFC
RFT
WIP
blocked
bsp
bug
build/scripts/tools
duplicate
feature
fixed
layer3
mantis
more details required
needs changes
node
packages/fff
rejected
security
trivial
upstream
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: freifunk-franken/firmware#88
Loading…
Reference in New Issue
No description provided.
Delete Branch "fbl/firmware:wan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Allow setting WAN vlan/interface from gateway config.
A configuration without explicit definition of a WAN interface is
valid at the moment and results in the default configuration from
fff-network being used.
Originally, it was intended to automatically set WAN to vlan 2, if nothing was
specified. As this would break devices, which don't use swconfig for
WAN, the already configured WAN interface is left untouched.
Fixes: #85
Signed-off-by: Fabian Bläse fabian@blaese.de
12478d83e5
toa9a495d42a
Changes:
@ -0,0 +15,4 @@
apply() {
uci commit network
uci commit gateway
gateway commit? Weil?
(unten das gleiche nochmal bei revert)
Oh shit. Das ist - wie in der Commit Message vermerkt - ein Überrest von dem automatischen setzen auf 2. Das kommt natürlich noch weg.
Danke fürs aufmerksame drübergucken. :-)
Ich glaub wir haben uns so bisschen darauf geeinigt den Betreff mit dem package anzufangen, also in dem Beispiel:
fff-layer3-config: Add script to set wan vlan/interface
a9a495d42a
toba7073df5a
Changes:
@ -0,0 +2,4 @@
BOARD="$(uci get board.model.name)"
. /etc/network.$BOARD
Hier hätte eine Leerzeile gereicht, aber sei's drumm ...
Da kann ich mich anschliessen.
Danke, wird demnächst gemergt.
Pull request closed