Skip to content
Snippets Groups Projects
Commit ba3540db authored by Mathias Kresin's avatar Mathias Kresin Committed by Felix Fietkau
Browse files

base-files: generate /etc/config/wireless, if it doesn't exist


This patch adds a check in "wifi detect" to test if the wireless
configuration file does exist. If it doesn't exist, an empty
/etc/config/wireless file will be created.

This is necessary because uci doesn't create new files,
instead the tool just exits with "uci: Entry not found".

Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
parent f78405f5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment