Set debug flag user to lvuser to allow it to be deleted (fixes artf3415)

Change-Id: I8931427f447e2e0b443e4b6c82dddfe9d50ef553
This commit is contained in:
Kevin O'Connor
2014-09-29 16:05:48 -04:00
parent ad906da673
commit 7e2c68214d
2 changed files with 6 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ deploy.kill.command=. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKill
deploy.log.file=/var/local/natinst/log/FRC_UserProgram.log
deploy.log.command=tail -F -n 0 ${deploy.log.file}
debug.flag.dir=/tmp/
debug.flag.command=chown lvuser:ni ${debug.flag.dir}frcdebug
command.dir=/home/lvuser/
version=current

View File

@@ -92,6 +92,11 @@
<scp file="${wpilib.ant.dir}/robotDebugCommand" todir="${username}@${target}:${command.dir}" password="${password}" trust="true"/>
<!-- The frcdebug file is used as a flag for /usr/local/frc/bin/frcRunRobot.sh to run the robot program in debug mode -->
<scp file="${wpilib.ant.dir}/frcdebug" todir="${username}@${target}:${debug.flag.dir}" password="${password}" trust="true"/>
<sshexec host="${target}"
username="${username}"
password="${password}"
trust="true"
command="${debug.flag.command}"/>
<echo>[athena-deploy] Starting Debug program.</echo>
<sshexec host="${target}"