This commit is contained in:
Rich
2021-08-03 11:03:44 +01:00
parent fb63f91239
commit a91243eef9

View File

@@ -7,7 +7,7 @@ from flask_login import current_user, login_required, login_user, logout_user
from app import app from app import app
from app.forms import LoginForm, WPAForm from app.forms import LoginForm, WPAForm
from app.models import Passwords, User from app.models import ConfigTable, Passwords, User
CMD_SCAN = "sudo nmcli -t -f SSID,SIGNAL,IN-USE,SECURITY -e yes -m tab device wifi list ifname wlan1 --rescan yes" CMD_SCAN = "sudo nmcli -t -f SSID,SIGNAL,IN-USE,SECURITY -e yes -m tab device wifi list ifname wlan1 --rescan yes"
CMD_JOIN = "sudo nmcli device wifi connect *SSID* ifname wlan1" CMD_JOIN = "sudo nmcli device wifi connect *SSID* ifname wlan1"