Skip to content
Snippets Groups Projects
Commit 6a006d3c authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Disabled dynamic motd

parent 0a95d860
No related branches found
No related tags found
2 merge requests!307Etiona test mr,!179Corrected patch for make-bleachbit
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2008-2016 Rubén Rodríguez <ruben@trisquel.info> # Copyright (C) 2008-2020 Rubén Rodríguez <ruben@trisquel.info>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
...@@ -17,12 +17,16 @@ ...@@ -17,12 +17,16 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=1 VERSION=2
. ./config . ./config
CODENAMECAPS=$(echo $CODENAME | /bin/sed -e "s/\b\(.\)/\u\1/g") CODENAMECAPS=$(echo $CODENAME | /bin/sed -e "s/\b\(.\)/\u\1/g")
# Disable dynamic motd
find -name *motd-news* -delete
sed '/motd-news/d' -i debian/rules
cat << EOF > update-motd.d/01-banner cat << EOF > update-motd.d/01-banner
#!/bin/sh #!/bin/sh
echo "\ echo "\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment