Skip to content

Commit

Permalink
oref0-radio-reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleibrand committed Feb 18, 2017
1 parent 83a5c92 commit d2bb6e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/oref0-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
fi
if [[ "$ttyport" =~ "spi" ]]; then
(crontab -l; crontab -l | grep -q "reset_spi_serial.py" || echo "@reboot reset_spi_serial.py") | crontab -
(crontab -l; crontab -l | grep -q "oref0-radio-reboot" || echo "*/10 * * * * oref0-radio-reboot") | crontab -
fi
(crontab -l; crontab -l | grep -q "cd $directory && ( ps aux | grep -v grep | grep -q 'openaps pump-loop'" || echo "* * * * * cd $directory && ( ps aux | grep -v grep | grep -q 'openaps pump-loop' || openaps pump-loop ) 2>&1 | tee -a /var/log/openaps/pump-loop.log") | crontab -
if [[ ! -z "$BT_PEB" ]]; then
Expand Down

0 comments on commit d2bb6e6

Please sign in to comment.