Update of /cvsroot/devil-linux/build/scripts
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18605
Modified Files:
conntrack-tools
Log Message:
- added init file, added configuration example
Index: conntrack-tools
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/conntrack-tools,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- conntrack-tools 24 Jul 2008 22:06:13 -0000 1.5
+++ conntrack-tools 27 Feb 2009 23:51:28 -0000 1.6
@@ -35,14 +35,22 @@
strip_debug
fi
- ;;
+ ;;
install )
if [ "$CONFIG_CONNTRACKTOOL" = "y" ]; then
make install DESTDIR=$CDDIR || exit 1
+ mkdir $ETCDIR/etc/conntrackd || exit 1
+ # Copy configuration examples
+ rsync -avH --include '**.conf' --include '**.sh' --include '**README' --exclude '*' --include '*/' doc/ $ETCDIR/etc/conntrackd > /dev/null || exit 1
+ cp $MYDIR/scripts/conntrackd $ETCDIR/etc/init.d || exit 1
+
+ echo "# Start the Conntrack daemon?" >> $CONFIGFILE
+ echo "START_CONNTRACKD=no" >> $CONFIGFILE
+ echo >> $CONFIGFILE
fi
- ;;
+ ;;
* )
echo "ERROR ($0)"
|