Disabled dynamic motd
This commit is contained in:
parent
0a95d860f5
commit
6a006d3c8f
1 changed files with 6 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/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 @@
|
||||||
# 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 "\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue