[nmstools-cvs] src/bin mpls_vpn_rt_cvsimport.sh.in,NONE,1.1
Brought to you by:
ssinyagin
From: Michel H. <mi...@us...> - 2002-11-19 14:48:30
|
Update of /cvsroot/nmstools/src/bin In directory sc8-pr-cvs1:/tmp/cvs-serv18874 Added Files: mpls_vpn_rt_cvsimport.sh.in Log Message: initial import --- NEW FILE: mpls_vpn_rt_cvsimport.sh.in --- #!/bin/sh # # NMSTOOLS -- NMS Helper Tools #!/bin/sh # # NMSTOOLS -- NMS Helper Tools # $Id: mpls_vpn_rt_cvsimport.sh.in,v 1.1 2002/11/19 14:48:23 mihahn Exp $ # # Author: Michel Hahne <morangie at bluemail dot ch> # Copyright (C) 2001, 2002 Fault Correction and Maintenance, Cablecom GmbH # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Revision history: # $Log: mpls_vpn_rt_cvsimport.sh.in,v $ # Revision 1.1 2002/11/19 14:48:23 mihahn # initial import # CVSROOT=/pub/cvsroot VNDTAG=NMSTOOLS RELTAG=LATEST TMPDIR=/tmp/nms_cvsimport$$ MPLSDIR=%%NMSTOOLS_DATA%%/mpls CVSMODULE=nmstools-vpn_rt-savedstate mkdir $TMPDIR cd $MPLSDIR for f in `ls rt_vrf*` do sed 's/timestamp.*/timestamp="DELETED">/' $f >$TMPDIR/$f done cd $TMPDIR cvs -d $CVSROOT import -m "Weekly update" -d $CVSMODULE $VNDTAG $RELTAG cd .. \rm -rf $TMPDIR |