commit...
This commit is contained in:
parent
e674e58cef
commit
6aa5db759a
11
Makefile
11
Makefile
@ -17,15 +17,16 @@ clean:
|
||||
|
||||
deploy: build
|
||||
@echo "Copying FRCUserProgram"
|
||||
@ssh $(SSH_OPTIONS) lvuser@roborio-1786.local 'rm -f /home/lvuser/FRCUserProgram'
|
||||
@scp $(SSH_OPTIONS) -o "LogLevel QUIET" FRCUserProgram lvuser@roborio-1786.local:/home/lvuser/FRCUserProgram
|
||||
@ssh $(SSH_OPTIONS) lvuser@10.17.86.20 'rm -f /home/lvuser/FRCUserProgram'
|
||||
@scp $(SSH_OPTIONS) -o "LogLevel QUIET" FRCUserProgram lvuser@10.17.86.20:/home/lvuser/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@10.17.86.20 '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r'
|
||||
|
||||
restart: 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@10.17.86.20 '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r'
|
||||
|
||||
stop:
|
||||
@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@10.17.86.20 '. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t'y
|
||||
|
||||
|
Reference in New Issue
Block a user