merge remote changes

This commit is contained in:
Daniel Sommer 2024-11-05 14:03:21 +01:00
commit d4e38fe9dd
2 changed files with 8 additions and 6 deletions

View file

@ -31,3 +31,6 @@ echo 'auto' > '/sys/bus/pci/devices/0000:04:00.0/ata5/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:00:15.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:04:00.0/power/control';
echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/ata4/power/control';
echo 'disabled' > '/sys/bus/usb/devices/2-3/power/wakeup';
echo 'disabled' > '/sys/bus/usb/devices/2-4/power/wakeup';
echo 'auto' > '/sys/bus/usb/devices/1-5/power/control';

View file

@ -42,11 +42,10 @@ printf ""$font_colored"> removing orphaned packages..."$font_default"\n"
printf ""$font_colored"> removing \"no valid subscription\" message..."$font_default"\n"
sed -i.bak "s/data.status.* !== 'ACTIVE'/false/I" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
printf ""$font_colored"> updating restic..."$font_default"\n"
restic self-update
#printf ""$font_colored"> installing dark theme..."$font_default"\n"
#bash <(curl -s https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.sh ) install
if [[ "$(which restic &> /dev/null)" ]]; then
printf ""$font_colored"> updating restic..."$font_default"\n"
restic self-update
fi
printf ""$font_colored_bold">> system updated finished after "$SECONDS" seconds!"$font_default"\n"