#!/bin/bash alias=r1 . /srv/http/bash/settings/addons.sh # 20260111 [[ ! -e /usr/bin/dtoverlay ]] && pacman -Sy --noconfirm raspberrypi-utils if [[ ! -e /boot/kernel.img && $( spotifyd -V ) < 'spotifyd 0.4.2' ]]; then sed -i 's/ipv6.disable=1 //' /boot/cmdline.txt pacman -Sy --needed --noconfirm spotifyd file=/etc/spotifyd.conf ! grep -q '^mixer = "hw"' $file && sed -i -E 's/^(mixer = ).*/\1"hw"/' $file echo ', "spotifyd": "Spotify"' >> $dirshm/reboot fi # 20251109 rm -f $dirshm/system #------------------------------------------------------------------------------- installstart "$1" rm -rf /srv/http/assets/{css,js} /srv/http/{bash,settings} getinstallzip . $dirbash/common.sh dirPermissions $dirbash/cmd.sh cachebust [[ -e $dirsystem/color ]] && $dirbash/cmd.sh color installfinish