24-06-2016, 23:59
I've set up some aliases as well to make things a bit easier. I thought I'd document it here in case anyone else sees a use for it. Steps involved were:
1. In a terminal, type "nano ~/.bashrc" (without the quotes)
2. Add the following lines to the bottom of the file:
alias mxstart='sudo /home/pi/CumulusMX/cumulusmx.sh -start'
alias mxstop='sudo /home/pi/CumulusMX/cumulusmx.sh -stop'
alias mxstatus='sudo /home/pi/CumulusMX/cumulusmx.sh -status'
alias mxreload='sudo /home/pi/CumulusMX/cumulusmx.sh -force-reload'
Ctrl + X, then Y to save the file and exit. Then reboot. Then you can just use the shortened commands (mxstart, mxstop etc) to make things a bit easier to manage.
1. In a terminal, type "nano ~/.bashrc" (without the quotes)
2. Add the following lines to the bottom of the file:
alias mxstart='sudo /home/pi/CumulusMX/cumulusmx.sh -start'
alias mxstop='sudo /home/pi/CumulusMX/cumulusmx.sh -stop'
alias mxstatus='sudo /home/pi/CumulusMX/cumulusmx.sh -status'
alias mxreload='sudo /home/pi/CumulusMX/cumulusmx.sh -force-reload'
Ctrl + X, then Y to save the file and exit. Then reboot. Then you can just use the shortened commands (mxstart, mxstop etc) to make things a bit easier to manage.

