Skip to content

Commit

Permalink
Fixes to install system
Browse files Browse the repository at this point in the history
  • Loading branch information
RaresPlescan committed Nov 1, 2013
1 parent 6ba96df commit 5e7c0de
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
3 changes: 3 additions & 0 deletions autoconf/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

echo "Build script to be populated"
12 changes: 0 additions & 12 deletions exec/all_readings_sense.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,6 @@ fi
temp_1=$( echo $read_temp | sed 's/\.[^@]*$//' )
# th1=$(cat /daisy/tmp/spk_threshold.txt)

# if [ $temp_1 -gt "26" ] && [ $th1 -lt "1"]; then
if [ $temp_1 -gt "26" ]; then
# espeak -v en+f3 -s 120 -g 8 --stdout 'Warning ! Temperature exceeded twenty six degrees !' | aplay
# echo "1" > /daisy/tmp/spk_threshold.txt
fi

# if [ $temp_1 -lt "27" ]; then
# echo "0" > /daisy/tmp/spk_threshold.txt
# espeak -v en+f3 -s 120 -g 8 --stdout 'Warning ! ' | aplay
# fi



# echo "Read altitude is $altit."
# echo "Read light is $light."
Expand Down
14 changes: 14 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Daisy Pi Installer 1.0

#!/bin/sh

# Preparing OS by installing needed packages and tools
/daisypi/autoconf/prepare.sh

# Modifing config files for Daisy Pi
/daisypi/autoconf/modify.sh

# Building for each sensor / component
/daisypi/autoconf/build.sh

echo " Installer execution ended."

0 comments on commit 5e7c0de

Please sign in to comment.