From 06a97a881807752dffb136d86d5b27d8f9ae6ac1 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sat, 16 Nov 2019 13:52:27 +0100 Subject: fuck ubuntus motd --- mkosi.postinst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mkosi.postinst b/mkosi.postinst index b0330d1..1e2a735 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -1,4 +1,14 @@ #!/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 + + +# set up bitwarden mv /bitwarden_rs /usr/local/bin/ mkdir /var/lib/bitwarden_rs /etc/bitwarden_rs @@ -7,4 +17,3 @@ chown -R bitwarden_rs: /var/lib/bitwarden_rs /etc/bitwarden_rs chmod 700 /var/lib/bitwarden_rs /etc/bitwarden_rs systemctl enable bitwarden_rs - -- cgit v1.2.3