From 2f8021ce3db72706246ea1027e913e3c47bacf21 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 18 Jan 2010 07:42:04 -0800 Subject: [PATCH] Install the Shorewall6 tcinterfaces and tcpri files Signed-off-by: Tom Eastep --- Shorewall6/install.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 #