summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkosi.postinst10
1 files changed, 7 insertions, 3 deletions
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