summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-11-12 11:10:17 +0100
committerdennis <dennis@mrslave>2019-11-12 11:10:17 +0100
commitc02ab62733d0976a80d72b2d44892de798098a33 (patch)
tree167c279d140b9b866762206cfc38fdd6c2278b36 /mkosi.postinst
parentnew binding (diff)
downloadmkosi-sabnzbd-c02ab62733d0976a80d72b2d44892de798098a33.tar.gz
fuck ubuntus motd
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst7
1 files changed, 6 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 7e29285..f4d15b6 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -1,9 +1,14 @@
#!/bin/sh
set -ex
-
export DEBIAN_FRONTEND=noninteractive
export HOME="/config"
+# motd
+chmod 644 /etc/update-motd.d/*
+systemctl mask motd-news.service
+systemctl mask motd-news.timer
+
+
groupadd --system --gid 997 warez
useradd --system --gid warez --uid 997 warez