From a7b99305c44a52d49f4e3e9be44810771095ee04 Mon Sep 17 00:00:00 2001 From: dennis Date: Tue, 12 Nov 2019 11:10:12 +0100 Subject: fuck ubuntus motd --- mkosi.postinst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'mkosi.postinst') diff --git a/mkosi.postinst b/mkosi.postinst index a8d222d..4159b62 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -1,11 +1,15 @@ #!/bin/sh set -ex - -systemctl enable systemd-networkd - export DEBIAN_FRONTEND=noninteractive export XDG_CONFIG_HOME="/config/xdg" +# motd +chmod 644 /etc/update-motd.d/* +systemctl mask motd-news.service +systemctl mask motd-news.timer + +systemctl enable systemd-networkd + groupadd --system --gid 997 plex useradd --system --gid 997 --uid 997 plex -- cgit v1.2.3