Skip to content

Instantly share code, notes, and snippets.

@rhilo
Created January 4, 2020 17:35
Show Gist options
  • Select an option

  • Save rhilo/950ca0c6758f332053daa192ed57f9b8 to your computer and use it in GitHub Desktop.

Select an option

Save rhilo/950ca0c6758f332053daa192ed57f9b8 to your computer and use it in GitHub Desktop.
[[ $G_DIETPI_VERSION_SUB == 2[78] && -w '/DietPi/dietpi/func/dietpi-banner' ]] && sed -i '/G_TERM_CLEAR$/s/$/ 2> \/dev\/null || printf "\\ec"/' /DietPi/dietpi/func/dietpi-banner
[[ $G_DIETPI_VERSION_SUB == 2[78] && $G_DISTRO == 4 && -w '/DietPi/dietpi/dietpi-software' ]] && sed -i '/always-show-logo/d' /DietPi/dietpi/dietpi-software
motd='welcome'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment