mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-23 19:57:21 +01:00
* FirewallInstaller.cpp (FirewallInstaller::getDestinationDir):
bugfix (bug was introduced in build 768). If user entered alternative activation command in the "installer" tab of the firewall object settings dialog, the program confused it with destination directory and tried to execute incorrect command to copy files to the firewall. This build (770) fixes this problem.
This commit is contained in:
parent
0bf9408448
commit
31ef42f3a1
@ -1,5 +1,12 @@
|
||||
2009-02-21 vadim <vadim@vk.crocodile.org>
|
||||
|
||||
* FirewallInstaller.cpp (FirewallInstaller::getDestinationDir):
|
||||
bugfix (bug was introduced in build 768). If user entered
|
||||
alternative activation command in the "installer" tab of the
|
||||
firewall object settings dialog, the program confused it with
|
||||
destination directory and tried to execute incorrect command to
|
||||
copy files to the firewall. This build (770) fixes this problem.
|
||||
|
||||
* SSHUnx.cpp (SSHUnx::SSHUnx): New feature: built-in installer can
|
||||
now enter sudo password. There is no need to configure firewall
|
||||
management account for password-less sudo access anymore.
|
||||
|
||||
@ -310,11 +310,6 @@ QString FirewallInstaller::getActivationCmd()
|
||||
|
||||
QString FirewallInstaller::getDestinationDir()
|
||||
{
|
||||
if (!cnf->activationCmd.isEmpty())
|
||||
{
|
||||
return cnf->activationCmd;
|
||||
}
|
||||
|
||||
QString dir = "";
|
||||
|
||||
string optpath = "activation/";
|
||||
|
||||
@ -436,6 +436,12 @@ with this address:</string>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>250</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
@ -459,6 +465,12 @@ with this address:</string>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>250</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" >
|
||||
@ -482,6 +494,12 @@ with this address:</string>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>250</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0" >
|
||||
@ -505,6 +523,12 @@ with this address:</string>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>250</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="2" >
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user