diff --git a/Shorewall/install.sh b/Shorewall/install.sh index 0cd004a8e..ed4ecd39a 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -586,6 +586,16 @@ if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/shorewall/tcfilters ]; then echo "TC Filters file installed as ${DESTDIR}/etc/shorewall/tcfilters" fi +# +# Install the secmarks file +# +run_install $OWNERSHIP -m 0644 configfiles/secmarks ${DESTDIR}/usr/share/shorewall/configfiles + +if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/shorewall/secmarks ]; then + run_install $OWNERSHIP -m 0600 configfiles/secmarks ${DESTDIR}/etc/shorewall + echo "Secmarks file installed as ${DESTDIR}/etc/shorewall/secmarks" +fi + # # Install the default config path file # diff --git a/Shorewall6/install.sh b/Shorewall6/install.sh index f65e5a358..7d1825786 100755 --- a/Shorewall6/install.sh +++ b/Shorewall6/install.sh @@ -507,6 +507,16 @@ if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/shorewall6/notrack ]; then run_install $OWNERSHIP -m 0600 notrack ${DESTDIR}/etc/shorewall6/notrack echo "Notrack file installed as ${DESTDIR}/etc/shorewall6/notrack" fi + +# +# Install the Secmarks file +# +run_install $OWNERSHIP -m 0644 secmarks ${DESTDIR}/usr/share/shorewall6/configfiles/secmarks + +if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/shorewall6/secmarks ]; then + run_install $OWNERSHIP -m 0600 secmarks ${DESTDIR}/etc/shorewall6/secmarks + echo "Secmarks file installed as ${DESTDIR}/etc/shorewall6/secmarks" +fi # # Install the default config path file #