Skip to content

Commit

Permalink
add line to create database in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Dec 15, 2013
1 parent 36ad2db commit fb487d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file removed dbf/nettemp.db
Binary file not shown.
2 changes: 1 addition & 1 deletion dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash

git update-index --assume-unchanged dbf/nettemp.db
#git update-index --assume-unchanged dbf/nettemp.db
sudo update-alternatives --config editor
6 changes: 3 additions & 3 deletions nettemp_install_on_raspberry_pi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ echo -e "${GREEN}Add permisions${R}"
gpasswd -a www-data dialout
#chmod +s /var/www/nettemp/modules/relays/gpio

echo -e "${GREEN}Create database${R}"
/var/www/nettemp/modules/reset/reset


echo -e "${GREEN}Add cron line${R}"
echo "*/1 * * * * /var/www/nettemp/modules/sensors/temp_dev_read && /var/www/nettemp/modules/view/view_gen && /var/www/nettemp/modules/highcharts/highcharts" > /var/spool/cron/crontabs/root
Expand Down Expand Up @@ -129,6 +132,3 @@ chmod +s /sbin/reboot

echo -e "${REDB}Restart RPI and make sure everything is ok${R}"




0 comments on commit fb487d5

Please sign in to comment.