mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-28 08:37:22 -08:00
connectToNetwork: save Wi-Fi credentials
This commit is contained in:
parent
f4141a4494
commit
caeca49c2e
1 changed files with 3 additions and 0 deletions
|
@ -571,6 +571,9 @@ namespace {
|
||||||
QFile::remove("/run/wifi_connected_successfully");
|
QFile::remove("/run/wifi_connected_successfully");
|
||||||
connectionSuccessful = 1;
|
connectionSuccessful = 1;
|
||||||
global::network::isConnected = true;
|
global::network::isConnected = true;
|
||||||
|
setDefaultWorkDir();
|
||||||
|
string_writeconfig(".config/17-wifi_connection_information/essid", essid_str);
|
||||||
|
string_writeconfig(".config/17-wifi_connection_information/passphrase", passphrase_str);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue