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

View file

@ -0,0 +1,24 @@
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
# Display onion domain in MOTD
cat /var/lib/tor/hidden_service/hostname > /home/pi/torname
hostapd -d /etc/hostapd/hostapd.conf
exit 0