mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2026-02-03 23:30:48 +00:00
first Pivivlion config and scripts
This commit is contained in:
parent
e046535f8c
commit
1599a2b753
61 changed files with 7014 additions and 0 deletions
13
usr/local/bin/hotspot
Normal file
13
usr/local/bin/hotspot
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue