updated roborio hostname in the makefile.

This commit is contained in:
Aidan Ferguson 2016-01-27 20:20:35 -05:00
parent e674e58cef
commit 3df7e9b128

View File

@ -17,15 +17,15 @@ clean:
deploy: build deploy: build
@echo "Copying FRCUserProgram" @echo "Copying FRCUserProgram"
@ssh $(SSH_OPTIONS) lvuser@roborio-1786.local 'rm -f /home/lvuser/FRCUserProgram' @ssh $(SSH_OPTIONS) lvuser@roborio-1786-frc.local 'rm -f /home/lvuser/FRCUserProgram'
@scp $(SSH_OPTIONS) -o "LogLevel QUIET" FRCUserProgram lvuser@roborio-1786.local:/home/lvuser/FRCUserProgram @scp $(SSH_OPTIONS) -o "LogLevel QUIET" FRCUserProgram lvuser@roborio-1786-frc.local:/home/lvuser/FRCUserProgram
@echo "Restarting FRCUserProgram" @echo "Restarting FRCUserProgram"
@$(SSH_SSHPASS) ssh $(SSH_OPTIONS) admin@roborio-1786.local '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r' @$(SSH_SSHPASS) ssh $(SSH_OPTIONS) admin@roborio-1786-frc.local '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r'
restart: FRCUserProgram restart: FRCUserProgram
@echo "Restarting FRCUserProgram" @echo "Restarting FRCUserProgram"
@$(SSH_SSHPASS) ssh $(SSH_OPTIONS) admin@roborio-1786.local '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r' @$(SSH_SSHPASS) ssh $(SSH_OPTIONS) admin@roborio-1786-frc.local '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r'
stop: stop:
@echo "Restarting FRCUserProgram" @echo "Restarting FRCUserProgram"
@$(SSH_SSHPASS) ssh $(SSH_OPTIONS) admin@roborio-1786.local '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t' @$(SSH_SSHPASS) ssh $(SSH_OPTIONS) admin@roborio-1786-frc.local '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t'