From 8798d3cdb4b0ca2f8a52b5bb182a1f14b988b4ff Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 18 Jan 2010 07:39:36 -0800 Subject: [PATCH] Install tcinterfaces and tcpri Signed-off-by: Tom Eastep --- Shorewall/install.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Shorewall/install.sh b/Shorewall/install.sh index f98a65e26..befcba082 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -431,6 +431,26 @@ if [ -z "$CYGWIN" -a ! -f ${PREFIX}/etc/shorewall/tcrules ]; then echo "TC Rules file installed as ${PREFIX}/etc/shorewall/tcrules" fi +# +# Install the TC Interfaces file +# +run_install $OWNERSHIP -m 0644 tcinterfaces ${PREFIX}/usr/share/shorewall/configfiles/tcinterfaces + +if [ -z "$CYGWIN" -a ! -f ${PREFIX}/etc/shorewall/tcinterfaces ]; then + run_install $OWNERSHIP -m 0600 tcinterfaces ${PREFIX}/etc/shorewall/tcinterfaces + echo "TC Interfaces file installed as ${PREFIX}/etc/shorewall/tcinterfaces" +fi + +# +# Install the TC Priority file +# +run_install $OWNERSHIP -m 0644 tcpri ${PREFIX}/usr/share/shorewall/configfiles/tcpri + +if [ -z "$CYGWIN" -a ! -f ${PREFIX}/etc/shorewall/tcpri ]; then + run_install $OWNERSHIP -m 0600 tcpri ${PREFIX}/etc/shorewall/tcpri + echo "TC Priority file installed as ${PREFIX}/etc/shorewall/tcpri" +fi + # # Install the TOS file #