head	1.5;
access;
symbols
	Hobson_Rock_14Dec2009:1.5
	BEFORE_VCS_CHANGE:1.5
	Hobson_Rock_16Oct2009:1.5
	Hobson_Rock_29June2009:1.5
	mar19_2009:1.5
	mar18_2009:1.5
	feb13_2009:1.5
	feb10-2009:1.5
	feb09-2009:1.5
	dec15_2008:1.5
	dec12_2008:1.5
	ST_10_5:1.5
	ST_10_4b:1.5
	ST_10_4:1.5
	ST_10_3:1.5
	ST10_HW:1.5
	ST_10_2:1.5
	ST_10_1:1.5
	ST_10_0:1.5
	AUTONOMY_BRANCH:1.5.0.2
	AUTONOMY:1.5
	AUTONOMY-2008_07_30:1.5
	Dev-27Jan2004:1.1
	Rel-15Dec2003:1.1
	Dev-2Dec2003:1.1
	Dev-1Dec2003:1.1
	Rel-26Nov2003:1.1;
locks; strict;
comment	@# @;


1.5
date	2006.03.11.00.40.56;	author sib;	state Exp;
branches;
next	1.4;

1.4
date	2004.06.01.22.45.51;	author sib;	state Exp;
branches;
next	1.3;

1.3
date	2004.06.01.22.29.04;	author sib;	state Exp;
branches;
next	1.2;

1.2
date	2004.06.01.22.14.57;	author sib;	state Exp;
branches;
next	1.1;

1.1
date	2001.10.22.10.53.32;	author sib;	state Exp;
branches;
next	;


desc
@@


1.5
log
@added support for AUV_HOST env variable to scripts
@
text
@#! /bin/bash
sed 's/\#define/\%define/' $1 | sed 's/\#/\/\//' | sed 's/\%define/\#define/' | cpp -C -P -x c++ | sed 's/\/\//\#/' > $1.pp
cat $1.pp
ncftpput -u dorado1 -p dorado1 $AUV_HOST /home/dorado1/auv/altex/onboard/missions $1.pp
rsh -l dorado1 $AUV_HOST "slay kearfottTest"
rsh -l dorado1 $AUV_HOST "(cd \$AUV/bin; nohup supervisor -plan $1.pp >> nohup.out 2>> nohup.out &)"
echo
echo All Done
@


1.4
log
@sib: added a few more switches to cpp to force c++ and get rid of #line stuff.
@
text
@d4 1
a4 1
ncftpput -u dorado1 -p dorado1 $AUV_HOST ~/auv/altex/onboard/missions $1.pp
@


1.3
log
@sib: added some sed statements so comments are preserved in missions and all versions of cpp will work with these scripts
@
text
@d2 1
a2 1
sed 's/\#define/\%define/' $1 | sed 's/\#/\/\//' | sed 's/\%define/\#define/' | cpp -C | sed 's/\/\//\#/' > $1.pp
@


1.2
log
@sib: now uses the $AUV_HOST variable
@
text
@d2 1
a2 1
cpp $1 > $1.pp
@


1.1
log
@Initial install of bash scripts for the control computer during AUV ops.
@
text
@d4 3
a6 3
ncftpput -u dorado1 -p dorado1 dorado-sl ~/auv/altex/onboard/missions $1.pp
rsh -l dorado1 arm8-sl "slay kearfottTest"
rsh -l dorado1 arm8-sl "(cd \$AUV/bin; nohup supervisor -plan $1.pp >> nohup.out 2>> nohup.out &)"
@

