summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-12 08:16:35 +0100
committerDennis Eriksen <d@ennis.no>2019-11-12 08:16:35 +0100
commit328209cbd11b90a6b5217f002f1d56799bda06d2 (patch)
treed145987c2eac27ec7ccad02887ceef6aac35ebb8 /mkosi.postinst
parentadding unattended_upgrades (diff)
downloadmkosi-cgit-328209cbd11b90a6b5217f002f1d56799bda06d2.tar.gz
fuck ubuntus motd
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst6
1 files changed, 5 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 202b135..d1b1ed9 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -1,8 +1,12 @@
#!/bin/sh
set -ex
-
export DEBIAN_FRONTEND=noninteractive
+# motd
+chmod 644 /etc/update-motd.d/*
+systemctl mask motd-news.service
+systemctl mask motd-news.timer
+
# locales
#sed -i 's/# en_IE.UTF-8 UTF-8/en_IE.UTF-8 UTF-8/' /etc/locale.gen
#locale-gen