diff options
author | Olivier Blin <blino@mageia.org> | 2011-12-02 23:05:18 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-12-02 23:05:18 +0000 |
commit | 4f67c571f7a6e4f730cdb9766bbe9983de0e3965 (patch) | |
tree | efa41ba95f4054764d2e4d0658a6e85a3cb45f2c /lib | |
parent | ba20026c4ec851f8766aa51d64d88f91968480a1 (diff) | |
download | drakx-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)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/drakfirewall.pm | 2 |
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 { |