first Pivivlion config and scripts

This commit is contained in:
Vedran 2016-11-25 19:02:28 +01:00
parent e046535f8c
commit 1599a2b753
61 changed files with 7014 additions and 0 deletions

13
home/pi/scripts/hotspot Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
cat /home/pi/pivilion/config/dhcpcd.deny.wlan0 > /etc/dhcpcd.conf
sudo bash -c 'cat /home/pi/pivilion/config/interfaces.hotspot > /etc/network/interfaces'
sudo update-rc.d dnsmasq enable
sudo bash -c 'cat /home/pi/pivilion/config/rc.local.hotspot > /etc/rc.local'
echo "Your Rpi will reboot in hotspot mode"!
echo "hotspot" > /home/pi/pivilion/mode