aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-12 07:25:21 +0100
committerDennis Eriksen <d@ennis.no>2019-11-12 07:25:21 +0100
commit38a0eb4beecbf76c0215d36ba24fd85bffd3a357 (patch)
tree3f11e36908ab555115c4036f8d736c4227b85f1f /mkosi.postinst
parentfixing mount-dir (diff)
downloadmkosi-davical-38a0eb4beecbf76c0215d36ba24fd85bffd3a357.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 b41f0bb..f58ef41 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