tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 855cf7d5fcb2ccf2ddbabe217b20f2e46973cd20
parent e1984532920e7c914d4b28e5908f76961f910edd
Author: rbckman <rbckman@localhost.localdomain>
Date:   Sat, 17 Nov 2018 15:15:12 +0200

wifi localisation added to install script

Diffstat:
Mextras/wifiset.service | 2+-
Mextras/wifiset.sh | 2+-
Minstall.sh | 9+++++++++
3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/extras/wifiset.service b/extras/wifiset.service @@ -4,7 +4,7 @@ After=multi-user.target [Service] Type=idle -ExecStart=/home/pi/wifiset.sh +ExecStart=/home/pi/tarina/extras/wifiset.sh [Install] WantedBy=multi-user.target diff --git a/extras/wifiset.sh b/extras/wifiset.sh @@ -1,3 +1,3 @@ #!/bin/bash -echo 'fuck you nokia wifi' +echo 'Setting your wifi region' sudo iw reg set FI diff --git a/install.sh b/install.sh @@ -161,15 +161,24 @@ cp extras/.vimrc /home/pi/.vimrc esac done +echo "Setting up network configuration to use wicd program..." +echo "it works nicer from the terminal than raspberry pi default" apt-get -y install wicd wicd-curses apt-get -y purge dhcpcd5 plymouth +echo "Removing unnecessary programs from startup..." systemctl disable lightdm.service --force systemctl disable graphical.target --force systemctl disable plymouth.service --force systemctl disable bluetooth.service systemctl disable hciuart.service +echo "Configure wifi region settings to FI, finland" +echo "You can change settings in extras/wifiset.sh file" +cp extras/wifiset.service /etc/systemd/system/ +systemctl daemon-reload +systemctl enable wifiset.service + while true; do read -p "Reboot into Tarina now? (y)es or (n)o?" yn case $yn in