This commit is contained in:
Rich
2021-07-10 09:24:42 +01:00
parent 3087e564bc
commit 60fac4f814
4 changed files with 2 additions and 23 deletions

View File

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