diff --git a/Shorewall6/install.sh b/Shorewall6/install.sh index cd598ad34..811e611df 100755 --- a/Shorewall6/install.sh +++ b/Shorewall6/install.sh @@ -371,6 +371,26 @@ if [ -z "$CYGWIN" -a ! -f ${PREFIX}/etc/shorewall6/tcrules ]; then echo "TC Rules file installed as ${PREFIX}/etc/shorewall6/tcrules" fi +# +# Install the TC Interfaces file +# +run_install $OWNERSHIP -m 0644 tcinterfaces ${PREFIX}/usr/share/shorewall6/configfiles/tcinterfaces + +if [ -z "$CYGWIN" -a ! -f ${PREFIX}/etc/shorewall6/tcinterfaces ]; then + run_install $OWNERSHIP -m 0600 tcinterfaces ${PREFIX}/etc/shorewall6/tcinterfaces + echo "TC Interfaces file installed as ${PREFIX}/etc/shorewall6/tcinterfaces" +fi + +# +# Install the TC Priority file +# +run_install $OWNERSHIP -m 0644 tcpri ${PREFIX}/usr/share/shorewall6/configfiles/tcpri + +if [ -z "$CYGWIN" -a ! -f ${PREFIX}/etc/shorewall6/tcpri ]; then + run_install $OWNERSHIP -m 0600 tcpri ${PREFIX}/etc/shorewall6/tcpri + echo "TC Priority file installed as ${PREFIX}/etc/shorewall6/tcpri" +fi + # # Install the TOS file #