diff options
author | dennis <dennis@mrslave> | 2019-11-12 11:10:12 +0100 |
---|---|---|
committer | dennis <dennis@mrslave> | 2019-11-12 11:10:12 +0100 |
commit | a7b99305c44a52d49f4e3e9be44810771095ee04 (patch) | |
tree | 7221351d7b5c78adb0a17b78a7efc62a7a2431d5 /mkosi.postinst | |
parent | putting plex on its own ip (diff) | |
download | mkosi-plex-a7b99305c44a52d49f4e3e9be44810771095ee04.tar.gz |
fuck ubuntus motd
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 10 |
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 |