Is it possible to add custom scripts from a path to the banner ??
For example, adding an option to the banner like Custom Scripts to import all files from /boot/dietpi/func/custom_scripts/.
if (( ${aENABLED[N]} )) # Where 'N' is the order in the banner options
then
. /boot/dietpi/func/custom_scripts/*
fi
This allow us to get information of whatever we want without modifing the banner which, if I don't missunderstand, is overwrite on an update.
Is it possible to add custom scripts from a path to the banner ??
For example, adding an option to the banner like
Custom Scriptsto import all files from/boot/dietpi/func/custom_scripts/.This allow us to get information of whatever we want without modifing the banner which, if I don't missunderstand, is overwrite on an update.