We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd197b commit 2463c1dCopy full SHA for 2463c1d
srpm/update-motd.spec
@@ -46,6 +46,8 @@ if [ "$1" = "1" ]; then
46
ln -snf /var/lib/update-motd/motd /etc/motd
47
elif [ "$1" = "2" ]; then
48
if [ -e /etc/motd ] && [ "$(readlink /etc/motd)" = "/var/run/motd" ]; then
49
+ # Copy the current motd
50
+ cp -L /etc/motd /var/lib/update-motd/motd
51
52
fi
53
0 commit comments