commit...
This commit is contained in:
parent
e674e58cef
commit
6aa5db759a
11
Makefile
11
Makefile
@ -17,15 +17,16 @@ 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@10.17.86.20 '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@10.17.86.20:/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@10.17.86.20 '. /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@10.17.86.20 '. /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@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