提交 69e5f79b authored 作者: blu's avatar blu

new feature: evwifi

上级 66c990e5
......@@ -107,7 +107,11 @@ class WifiMgr {
wpaFile << wpaContent;
wpaFile.close();
// TODO: verify
exec("systemctl restart networking&");
auto t = thread([](){
exec("systemctl restart networking");
});
t.detach();
// exec("ifconfig wlan1 down");
// exec("ifconfig wlan1 up");
// exec("systemctl enable wpa_supplicant@wlan1");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论