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???


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 -O /DietPi/dietpi/dietpi-banner
chmod +x /DietPi/dietpi/dietpi-banner
echo -e '[\e[32m  OK  \e[0m] Backup XMAS tree and housekeeping.\n'

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 more, but not so easy to providing this here:


###     DietPi XMAS tree remover    ###
### ###

(( $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 -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

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

	sleep 2


## test

	echo -e '[\e[32mAll done!\e[0m] Thanks for using DietPi.'