Firewall disable: call ufw disable instead of iptables stop

This commit is contained in:
Silvan Calarco 2013-05-13 16:11:40 +02:00
parent 2371b9ac2a
commit c60d78329a

View File

@ -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):