diff options
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index b0330d1..1e2a735 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -1,4 +1,14 @@ #!/bin/sh +set -ex +export DEBIAN_FRONTEND=noninteractive + +# motd +chmod 644 /etc/update-motd.d/* +systemctl mask motd-news.service +systemctl mask motd-news.timer + + +# set up bitwarden mv /bitwarden_rs /usr/local/bin/ mkdir /var/lib/bitwarden_rs /etc/bitwarden_rs @@ -7,4 +17,3 @@ chown -R bitwarden_rs: /var/lib/bitwarden_rs /etc/bitwarden_rs chmod 700 /var/lib/bitwarden_rs /etc/bitwarden_rs systemctl enable bitwarden_rs - |