Firewall disable: call ufw disable instead of iptables stop
This commit is contained in:
parent
2371b9ac2a
commit
c60d78329a
@ -166,7 +166,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
|
|||||||
softwareBaseInstallsProcess.start("/opt/kde3/bin/kmdr-executor", ['/usr/share/openmamba/mambabase/mambabase.kmdr'])
|
softwareBaseInstallsProcess.start("/opt/kde3/bin/kmdr-executor", ['/usr/share/openmamba/mambabase/mambabase.kmdr'])
|
||||||
|
|
||||||
def networkFirewallDisable(self):
|
def networkFirewallDisable(self):
|
||||||
networkFirewallDisableProcess.start("sudo",['/sbin/service','iptables','stop'])
|
networkFirewallDisableProcess.start("sudo",['/usr/sbin/ufw','disable'])
|
||||||
|
|
||||||
def networkFirewallDisableMessage(self,status):
|
def networkFirewallDisableMessage(self,status):
|
||||||
if (status == QtCore.QProcess.NormalExit):
|
if (status == QtCore.QProcess.NormalExit):
|
||||||
|
Loading…
Reference in New Issue
Block a user