fix typo in RTC setup

pull/155/head
Yossi 2017-11-30 16:18:34 +02:00
parent 0211028080
commit 1976bd3a90
1 changed files with 15 additions and 1 deletions

View File

@ -327,12 +327,26 @@ sudo update-rc.d -f fake-hwclock remove
# copy new file to
sudo wget https://dride.io/code/hwclock-set
sudo cp dhcpd.conf /lib/udev/hwclock-set
sudo cp hwclock-set /lib/udev/hwclock-set
sudo rm hwclock-set
# we will sync the current date form the app using BLE
# looks at /daemon/bluetooth/updateDate.js
echo "========== Setup Accelerometer ============"
# http://www.stuffaboutcode.com/2014/06/raspberry-pi-adxl345-accelerometer.html
# enable i2c 0
echo "dtparam=i2c_vc=on" >> /boot/config.txt
echo "========== Install Dride-core [Cardigan] ============"
cd /home
# https://s3.amazonaws.com/dride/releases/cardigan/latest.zip