fff-dhcp: fix indexing and output in uci-defaults #100

Closed
adschm wants to merge 1 commits from adschm:dhcpconf into master
Owner

When creating a new uci section, the safest way to refer to it is
with index '-1'. While it (probably) does not make a functional
difference for our specific case, since we expect to only have one
section anyway, let's just make sure and use the proper indexing.

While at it, suppress output from the 'add' command.

Signed-off-by: Adrian Schmutzler freifunk@adrianschmutzler.de

When creating a new uci section, the safest way to refer to it is with index '-1'. While it (probably) does not make a functional difference for our specific case, since we expect to only have one section anyway, let's just make sure and use the proper indexing. While at it, suppress output from the 'add' command. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
adschm added the
layer3
packages/fff
trivial
labels 2021-01-31 14:04:16 +01:00
adschm added 1 commit 2021-01-31 14:04:16 +01:00
e07402f447 fff-dhcp: fix indexing and output in uci-defaults
When creating a new uci section, the safest way to refer to it is
with index '-1'. While it (probably) does not make a functional
difference for our specific case, since we expect to only have one
section anyway, let's just make sure and use the proper indexing.

While at it, suppress output from the 'add' command.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
rohammer approved these changes 2021-02-08 19:07:12 +01:00
rohammer left a comment
Member

ja, gibt nicht viel mehr dazu zu sagen:

Reviewed-by: Robert Langhammer <rlanghammer@web.de>
ja, gibt nicht viel mehr dazu zu sagen: ``` Reviewed-by: Robert Langhammer <rlanghammer@web.de> ```
Author
Owner

Wird gemergt.

Wird gemergt.
adschm closed this pull request 2021-02-09 22:59:50 +01:00

Pull request closed

Sign in to join this conversation.
No description provided.