Hi,
the patch is against shorewall-4.5.21-Beta1.
While debugging in the past I found it handy to see the actual file,
which will be installed by install.sh (we are doing the same already
with the system service file).
When you decide to apply this patch, a similar patch is needed for
shorewall[6]?{,-lite,-init}, too.
-Thomas
--- install.sh.old 2013-09-09 16:29:42.844440584 +0200
+++ install.sh 2013-09-09 16:32:08.216498976 +0200
@@ -375,17 +375,17 @@
echo "$PRODUCT control program installed in ${DESTDIR}${SBINDIR}/$PRODUCT"
#
-# Install the Firewall Script
+# Install the SysV init script
#
if [ -n "$INITFILE" ]; then
- if [ -f "${INITSOURCE}" ]; then
- initfile="${DESTDIR}/${INITDIR}/${INITFILE}"
- install_file $INITSOURCE "$initfile" 0544
-
- [ "${SHAREDIR}" = /usr/share ] || eval sed -i
\'s\|/usr/share/\|${SHAREDIR}/\|\' "$initfile"
-
- echo "$Product script installed in $initfile"
- fi
+ if [ -f "${INITSOURCE}" ]; then
+ initfile="${DESTDIR}/${INITDIR}/${INITFILE}"
+ install_file $INITSOURCE "$initfile" 0544
+
+ [ "${SHAREDIR}" = /usr/share ] || eval sed -i
\'s\|/usr/share/\|${SHAREDIR}/\|\' "$initfile"
+
+ echo "SysV init script $INITSOURCE installed as $initfile"
+ fi
fi
#
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel