def savewifi(ssid, password): wpa_cli_mod.save_network("wlan0", ssid, password)
def savewificonnect(ssid, password): wpa_cli_mod.save_network("wlan0", ssid, password) connect_network(True, False) selectedplanmod.CheckNTPandAdjustClockandResetSched( ) # instead of waiting the next Heartbeat, it reset master scheduler if clock changes
def savewifi(ssid, password): wpa_cli_mod.save_network("wlan0",ssid,password)