debian.ansible.kodi/raspi.sh
2024-04-03 15:57:34 +02:00

51 lines
1.2 KiB
Bash

#!/bin/bash
# https://www.raspberrypi.com/documentation/computers/configuration.html
raspi-config nonint do_ssh 0
raspi-config nonint do_boot_behaviour B1
raspi-config nonint do_wayland W1
raspi-config nonint do_change_locale de_DE.UTF-8
echo 'LANG=de_DE.UTF-8
LANGUAGE=de_DE
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
' >/etc/default/locale
update-locale
cd /root
rm -f install.sh
wget https://gitea.ds9.dedyn.io/olli/debian.ansible.basics/raw/branch/main/install.sh
#export GITSRVURL="ssh://git@gitea.ds9.dedyn.io:333/olli"
export PLAYBOOKS="
debian.ansible.basics
gtc-rename
gtc-crypt
gtc-x11vnc
debian.ansible.firewall
debian.ansible.flatpak
debian.ansible.kodi
debian.ansible.dedyn.client
"
bash install.sh
echo '#!/bin/bash
gnome-terminal --hide-menubar --title=share.sh --maximize -- ~/share.sh
' >/home/pi/.xsessionrc
chmod 700 /home/pi/.xsessionrc
chown pi. /home/pi/.xsessionrc