Install modules.* files

This commit is contained in:
Tom Eastep 2011-02-05 17:25:44 -08:00
parent 88bce4100a
commit 6a078b9cda
2 changed files with 7 additions and 2 deletions

View File

@ -440,11 +440,16 @@ if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/shorewall/notrack ]; then
echo "Notrack file installed as ${DESTDIR}/etc/shorewall/notrack"
fi
#
# Install the Modules file
# Install the Modules files
#
run_install $OWNERSHIP -m 0644 modules ${DESTDIR}/usr/share/shorewall
echo "Modules file installed as ${DESTDIR}/usr/share/shorewall/modules"
for f in modules.*; do
run_install $OWNERSHIP -m 0644 modules ${DESTDIR}/usr/share/$f
echo "Module file $f installed as ${DESTDIR}/usr/share/shorewall/$f"
done
#
# Install the Module Helpers file
#

View File

@ -91,7 +91,7 @@ fi
%attr(0644,root,root) /usr/share/shorewall/lib.cli
%attr(0644,root,root) /usr/share/shorewall/lib.common
%attr(0644,root,root) /usr/share/shorewall/macro.*
%attr(0644,root,root) /usr/share/shorewall/modules
%attr(0644,root,root) /usr/share/shorewall/modules*
%attr(0644,root,root) /usr/share/shorewall/helpers
%attr(0644,root,root) /usr/share/shorewall/configpath
%attr(0755,root,root) /usr/share/shorewall/wait4ifup