From cc365d0998f48e80d6a12903e9f6297a6afcef01 Mon Sep 17 00:00:00 2001 From: olli <> Date: Tue, 8 Oct 2024 16:16:11 +0200 Subject: [PATCH] cleanup --- raspi.sh | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/raspi.sh b/raspi.sh index 149a1a8..a7732f4 100644 --- a/raspi.sh +++ b/raspi.sh @@ -3,8 +3,6 @@ # https://www.raspberrypi.com/documentation/computers/configuration.html raspi-config nonint do_ssh 0 raspi-config nonint do_vnc 0 -#raspi-config nonint do_boot_behaviour B1 -#raspi-config nonint do_wayland W1 raspi-config nonint do_change_locale de_DE.UTF-8 raspi-config nonint do_boot_splash 1 raspi-config nonint do_boot_behaviour B4 @@ -43,11 +41,13 @@ update-locale apt-get update +# autoupdate after startup +echo "@reboot root /usr/local/sbin/autoupdate.sh" >>/etc/crontab + 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 @@ -159,29 +159,19 @@ chown ${user}: /home/${user} /home/${user}/.xsessionrc /home/${user}/.config /ho [ -d /home/${user}/.kodi/addons ] || mkdir -p /home/${user}/.kodi/addons cd /home/${user}/.kodi/addons -# jellyfin from jellyfin repo +# jellyfin repo if ! [ -d repository.jellyfin.kodi ] then wget https://kodi.jellyfin.org/repository.jellyfin.kodi.zip unzip repository.jellyfin.kodi.zip fi -if ! [ -d plugin.video.jellyfin ] -then - wget https://kodi.jellyfin.org/py3/plugin.video.jellyfin/resources/plugin.video.jellyfin-1.0.4%2Bpy3.zip - unzip plugin.video.jellyfin-1.0.4+py3.zip -fi -# mediathekview from mediathekview repo +# mediathekview repo if ! [ -d repository.mediathekview ] then wget https://kodirepo.mediathekview.de/repo-mv/repository.mediathekview/repository.mediathekview-1.0.0.zip unzip repository.mediathekview-1.0.0.zip fi -if ! [ -d plugin.video.mediathekview ] -then - wget https://kodirepo.mediathekview.de/repo-matrix/plugin.video.mediathekview/plugin.video.mediathekview-1.1.3.zip - unzip plugin.video.mediathekview-1.1.3.zip -fi ## officiall addons # german lang