summaryrefslogtreecommitdiff
path: root/data/live-build-config
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-08 17:30:31 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-08 17:31:27 +0100
commitc76084a931e8cc42107ab5db6742804b970a320b (patch)
treefdacdf2967238dc3acd42b753ad84bb8ca60da37 /data/live-build-config
parent6cb74ef9f03c6cfa95acea8ad6a16f38df6945dc (diff)
downloadvyos-build-c76084a931e8cc42107ab5db6742804b970a320b.tar.gz
vyos-build-c76084a931e8cc42107ab5db6742804b970a320b.zip
T3912: remove superfluous motd.d kernel version shell script
(cherry picked from commit ee81272116cd680fd3b35497739f82be144b33a5)
Diffstat (limited to 'data/live-build-config')
-rwxr-xr-xdata/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot b/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot
new file mode 100755
index 00000000..9d8dc97e
--- /dev/null
+++ b/data/live-build-config/hooks/live/83-cleanup-etc-motd-d.chroot
@@ -0,0 +1,4 @@
+#!/bin/sh
+if [ -f /etc/update-motd.d/10-uname ]; then
+ rm -f /etc/update-motd.d/10-uname
+fi