-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
12 lines (12 loc) · 1.05 KB
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
#--- begin autostart feature for HackSPi/RasPike -------
if [ -f "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log.2" ]; then
mv -f "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log.2" "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log.3"
fi
if [ -f "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log.1" ]; then
mv -f "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log.1" "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log.2"
fi
if [ -f "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log" ]; then
mv -f "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log" "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log.1"
fi
"/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/hackspi" | tee "/home/et2024/work/RasPike/sdk/workspace/etrobocon2024/.hackspi/autostart.log"
#--------- autostart feature for HackSPi/RasPike end ---