New netconsole-host that overwrites the old one on every deploy

Change-Id: I9f9e94a67810b1b40b354a2bfc511f44a05b858a
This commit is contained in:
Brad Miller
2015-01-16 21:03:52 -05:00
parent 9b7042a51a
commit e614217d41
4 changed files with 19 additions and 1 deletions

View File

@@ -64,6 +64,15 @@
<echo>[athena-deploy] Copying code over.</echo>
<scp file="${out.exe}" sftp="true" todir="${username}@${target}:${deploy.dir}" password="${password}" trust="true"/>
<sshexec host="${target}"
username="admin"
password="${password}"
trust="true"
failonerror="false"
command="killall netconsole-host"/>
<scp file="${wpilib.ant.dir}/netconsole-host" todir="admin@${target}:/usr/local/frc/bin" password="${password}" trust="true"/>
<scp file="${wpilib.ant.dir}/robotCommand" todir="${username}@${target}:/home/lvuser/" password="${password}" trust="true"/>
<echo>[athena-deploy] Starting program.</echo>