summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-12-02 23:05:18 +0000
committerOlivier Blin <blino@mageia.org>2011-12-02 23:05:18 +0000
commit4f67c571f7a6e4f730cdb9766bbe9983de0e3965 (patch)
treeefa41ba95f4054764d2e4d0658a6e85a3cb45f2c
parentba20026c4ec851f8766aa51d64d88f91968480a1 (diff)
downloaddrakx-net-4f67c571f7a6e4f730cdb9766bbe9983de0e3965.tar
drakx-net-4f67c571f7a6e4f730cdb9766bbe9983de0e3965.tar.gz
drakx-net-4f67c571f7a6e4f730cdb9766bbe9983de0e3965.tar.bz2
drakx-net-4f67c571f7a6e4f730cdb9766bbe9983de0e3965.tar.xz
drakx-net-4f67c571f7a6e4f730cdb9766bbe9983de0e3965.zip
use . instead of source in /etc/ifw/rules (source does not work in dash)
-rw-r--r--lib/network/drakfirewall.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm
index f22ecfe..baac49e 100644
--- a/lib/network/drakfirewall.pm
+++ b/lib/network/drakfirewall.pm
@@ -279,7 +279,7 @@ sub set_ifw {
my $ports_by_proto = network::shorewall::ports_by_proto($ports);
output_with_perm("$::prefix/etc/ifw/rules", 0644,
- (map { "source /etc/ifw/rules.d/$_\n" } @$rules),
+ (map { ". /etc/ifw/rules.d/$_\n" } @$rules),
map {
my $proto = $_;
map {