fix typo in RTC setup
This commit is contained in:
parent
0211028080
commit
1976bd3a90
|
@ -327,12 +327,26 @@ sudo update-rc.d -f fake-hwclock remove
|
||||||
# copy new file to
|
# copy new file to
|
||||||
sudo wget https://dride.io/code/hwclock-set
|
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
|
sudo rm hwclock-set
|
||||||
|
|
||||||
# we will sync the current date form the app using BLE
|
# we will sync the current date form the app using BLE
|
||||||
# looks at /daemon/bluetooth/updateDate.js
|
# 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] ============"
|
echo "========== Install Dride-core [Cardigan] ============"
|
||||||
cd /home
|
cd /home
|
||||||
# https://s3.amazonaws.com/dride/releases/cardigan/latest.zip
|
# https://s3.amazonaws.com/dride/releases/cardigan/latest.zip
|
||||||
|
|
Loading…
Reference in New Issue
Block a user