Skip to content

DietPi-Banner | Add Custom Scripts #8107

@bahiano04

Description

@bahiano04

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions