wip
This commit is contained in:
@@ -432,7 +432,7 @@ void WifiManager::addTetheringConnection() {
|
|||||||
|
|
||||||
void WifiManager::tetheringActivated(QDBusPendingCallWatcher *call) {
|
void WifiManager::tetheringActivated(QDBusPendingCallWatcher *call) {
|
||||||
// Todo: this is false if not prime. Override?
|
// Todo: this is false if not prime. Override?
|
||||||
if (!ipv4_forward && false) {
|
if (false) {
|
||||||
QTimer::singleShot(5000, this, [=] {
|
QTimer::singleShot(5000, this, [=] {
|
||||||
qWarning() << "net.ipv4.ip_forward = 0";
|
qWarning() << "net.ipv4.ip_forward = 0";
|
||||||
std::system("sudo sysctl net.ipv4.ip_forward=0");
|
std::system("sudo sysctl net.ipv4.ip_forward=0");
|
||||||
|
|||||||
Reference in New Issue
Block a user