Go to file
Raphaël Vinot b3dc3de70d Add images 2014-11-04 00:30:07 +01:00
autostart Add images 2014-11-04 00:30:07 +01:00
website Add images 2014-11-04 00:30:07 +01:00
README.txt Initial commit 2014-11-03 22:43:56 +01:00
install.sh Fix fetch theme 2014-11-03 22:50:21 +01:00
phishbox.odg added LOffice drawing of banner to put behind the box 2014-11-04 00:22:08 +01:00
sensorscanner.sh Initial commit 2014-11-03 22:43:56 +01:00



sudo vi /etc/xdg/lxsession/LXDE/autostart
remove screensaver
sudo apt-get install unclutter xdotool git-core screen apache2
git clone git://git.drogon.net/wiringPi
cd wiringPi

mkdir website
cd website
wget https://raw.github.com/HubSpot/odometer/v0.4.6/odometer.js
wget https://raw.github.com/HubSpot/odometer/master/themes/odometer-theme-car.css
cd ..
mkdir -p /home/pi/.config/lxsession/LXDE/
cat > /home/pi/.config/lxsession/LXDE/autostart <<"EOF"
@xset s off
@xset -dpms
@xset s noblank
@sed -i 's/"exited_cleanly": false/"exited_cleanly": true/' ~/.config/chromium/Default/Preferences
@unclutter -display :0 -noevents -grab
@screen -dm ./buttonscanner.sh 
@firefox http://localhost/ 
@sleep 60s
@xdotool key F11

wget http://code.jquery.com/jquery-1.11.1.min.js