This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set location to fastest german mirror | |
sudo pacman-mirrors -c Germany | |
# update complete system | |
sudo pacman -Syyu --noconfirm | |
# check if restart is needed after updating | |
s1=$(pacman -Q linux | sed 's/linux[0-9]* //') | |
s2=$(uname -r | sed 's/-[A-Z]*$//') | |
if [ "$s1" == "$s2" ]; then | |
# NO REBOOT needed | |
# install essential dependencies to provision with ansiblet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
mkdir -p ~/.ssh | |
chmod 700 ~/.ssh | |
echo -n Enter password to decrypt keepass file: | |
read -s keepass_password | |
# load keepass db for the first time so we can set a password |
OlderNewer