aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-12 08:28:24 +0100
committerDennis Eriksen <d@ennis.no>2019-11-12 08:28:24 +0100
commitda57ff9c6924354a44baee77a605cfb31789adb6 (patch)
tree78f216bf8a1c5980deca31ceb7b6623cf7ba80d5 /mkosi.postinst
parentmoving from skeleton to extra (diff)
downloadmkosi-filebin-da57ff9c6924354a44baee77a605cfb31789adb6.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 942ccb4..185ae4e 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