summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-11-12 11:10:12 +0100
committerdennis <dennis@mrslave>2019-11-12 11:10:12 +0100
commita7b99305c44a52d49f4e3e9be44810771095ee04 (patch)
tree7221351d7b5c78adb0a17b78a7efc62a7a2431d5 /mkosi.postinst
parentputting plex on its own ip (diff)
downloadmkosi-plex-a7b99305c44a52d49f4e3e9be44810771095ee04.tar.gz
fuck ubuntus motd
Diffstat (limited to 'mkosi.postinst')
-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