diff --git a/stage2/06-dride-base/00-run.sh b/stage2/06-dride-base/00-run.sh index 94f1040..26208fc 100755 --- a/stage2/06-dride-base/00-run.sh +++ b/stage2/06-dride-base/00-run.sh @@ -243,15 +243,9 @@ sudo rm cronJobs -echo "========== Install Indicators ============" +echo "========== Install LED ============" echo "# Needed for SPI LED" >> /boot/config.txt echo "core_freq=250" >> /boot/config.txt -sudo apt-get install scons -cd /home/core/modules/indicators -sudo scons -sudo apt-get install python-dev swig -y -cd /home/core/modules/indicators/python -sudo python setup.py install cd /home/core/modules/led sudo npm i diff --git a/stage2/06-dride-base/files/etc_initd_dride-core b/stage2/06-dride-base/files/etc_initd_dride-core index 2c4cbd9..fb8d042 100644 --- a/stage2/06-dride-base/files/etc_initd_dride-core +++ b/stage2/06-dride-base/files/etc_initd_dride-core @@ -15,16 +15,15 @@ case "$1" in start) echo "Setting up HwClock" - sudo hwclock -s + sudo hwclock -s || echo "RTC is not set." echo "Starting dride-core" # TODO: refactor this to be done internally # pull up resistor on pin 16 sudo python /home/core/daemons/bluetooth/initPin.py - #blink LED - sudo python /home/core/modules/indicators/python/states/standalone.py welcome - + #welcome LED blink + /home/core/modules/led/bin/main welcome ;; stop)