|
From: Serge L. <sma...@us...> - 2009-02-24 19:28:08
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10825 Modified Files: strongswan Log Message: - added/fixed init script Index: strongswan =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/strongswan,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- strongswan 7 Jan 2009 06:27:53 -0000 1.6 +++ strongswan 24 Feb 2009 19:27:59 -0000 1.7 @@ -76,7 +76,15 @@ find $TMPDIR/usr/ -type f \( -name '*.a' -o -name '*.la' \) -exec rm \{\} \+ copy_files $TMPDIR/usr $CDDIR/ || exit 1 copy_files $TMPDIR/etc $ETCDIR/ || exit 1 + cp -p $MYDIR/scripts/ipsec $ETCDIR/etc/init.d || exit 1 + chmod +x $ETCDIR/etc/init.d/ipsec rm -rf $TMPDIR || exit 1 + + echo "# Start StrongSwan/IPSec suppoty?" >> $CONFIGFILE + echo "START_IPSEC=no" >> $CONFIGFILE + echo >> $CONFIGFILE + echo "HELP_IPSEC=\"IPSec VPN tunnel support (StrongSwan)\"" >> $SOFTWAREHELP + fi ;; |