aboutsummaryrefslogtreecommitdiff
path: root/network/firewalld/firewalld.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2017-07-21 00:48:46 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-22 06:55:16 +0700
commit799fd7e23b2c5cd0a8946b4ea41686632d5cf971 (patch)
tree31f2193770df6de8e9c72b290afd2f508c9a8cc0 /network/firewalld/firewalld.SlackBuild
parente93e6d8d12e89d11830af3f58e9579300a63440c (diff)
network/firewalld: Use /etc/default/ rather than /etc/sysconfig/
It's cosmetic but more in line with what the rest of Slackware might use... Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/firewalld/firewalld.SlackBuild')
-rw-r--r--network/firewalld/firewalld.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/firewalld/firewalld.SlackBuild b/network/firewalld/firewalld.SlackBuild
index d27dd716cf2f0..c95b13dd34c77 100644
--- a/network/firewalld/firewalld.SlackBuild
+++ b/network/firewalld/firewalld.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=firewalld
VERSION=${VERSION:-0.4.4.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -89,6 +89,7 @@ mv $PKG/etc/dbus-1/system.d/FirewallD.conf $PKG/etc/dbus-1/system.d/FirewallD.co
mv $PKG/etc/firewall/applet.conf $PKG/etc/firewall/applet.conf.new
mv $PKG/etc/firewalld/firewalld.conf $PKG/etc/firewalld/firewalld.conf.new
mv $PKG/etc/sysconfig/firewalld $PKG/etc/sysconfig/firewalld.new
+mv $PKG/etc/sysconfig $PKG/etc/default
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.FireWallD > $PKG/etc/rc.d/rc.FireWallD.new