Any new updates? (Christmas Tree is a fire risk!)

I know it is like Christmas year round with DietPi and SBC’s. :slight_smile: Any chance of a new update to remove the Tree banner at least or???

Yes.

https://github.com/Fourdee/DietPi/blob/testing/CHANGELOG.txt#L11-L12

previously v160 | DietPi v6.0

will be possible tu use backup from v159?

learning point: next time the xmas tree should disappear based on the current date. i would be ok staying on 159 but the xmas tree forces me to upgrade asap

learning point for you: - after you get a free gift, housekeeping is yours! :wink:

### DietPi XMAS tree remover ###
cp /DietPi/dietpi/dietpi-banner /DietPi/dietpi/dietpi-banner.XMAS-tree.bak
wget https://raw.githubusercontent.com/Fourdee/DietPi/521f611a69b9cc41ca7ac1f07ccc18182c5a4eb0/dietpi/dietpi-banner -O /DietPi/dietpi/dietpi-banner
chmod +x /DietPi/dietpi/dietpi-banner
clear
/DietPi/dietpi/login
echo -e '[\e[32m  OK  \e[0m] Backup XMAS tree and housekeeping.\n'
Done!

Hehe, good point, apologies for the constantly upright tree, that remains for infinity :slight_smile:
We did have to rush the tree this year, to make it for release.

I’ll keep the date check in mind for next year. We actually removed the tree code in v6.0 (every little counts), instead of simply disabling it.

@k-plan great fix :slight_smile: : DietPi Community Forum - Welcome to the DietPi OS Community Forum

Hi Dan,

Thanks. :smiley:

Like this XMAS_TREE_REMOVER_FOR_DIETPI.sh more, but not so easy to providing this here:

#!/bin/bash

###     DietPi XMAS tree remover    ###
### XMAS_TREE_REMOVER_FOR_DIETPI.sh ###

(( $UID )) && echo -e '[\e[31mFAILED\e[0m] Root privileges required. Please run the command with "sudo".\n' && exit 1
echo -e '[\e[32m  OK  \e[0m] Root privileges verified.\n'

## make a XMAS tree backup
	cp /DietPi/dietpi/dietpi-banner /DietPi/dietpi/dietpi-banner.XMAS-tree.bak
	echo -e '[\e[32m  OK  \e[0m] Backup XMAS tree login.\n'

## without XMAS tree
	wget https://raw.githubusercontent.com/Fourdee/DietPi/521f611a69b9cc41ca7ac1f07ccc18182c5a4eb0/dietpi/dietpi-banner -O /DietPi/dietpi/dietpi-banner

## only to be sure
	chmod +x /DietPi/dietpi/dietpi-banner
	echo -e '[\e[32m  OK  \e[0m] Setting up cleaned login.'
	sleep 1

## good bye and testing
	echo -e '[\e[32m  OK  \e[0m] Will prepare a test now.\n'

	sleep 2
	clear

	echo -e '[\e[32m  OK  \e[0m] Probing new login!'

	sleep 2

	clear

## test
	/DietPi/dietpi/login

#Cleanup
	rm XMAS_TREE_REMOVER_FOR_DIETPI.sh
	
	echo -e '[\e[32mAll done!\e[0m] Thanks for using DietPi.'

exit