From 0a73c513715f82d4159f87058286ae236bf3ce42 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 13 Jun 2025 11:04:20 +0300 Subject: [PATCH] install: mkdir systemd directories --- install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install b/install index aa85f697..98728faa 100755 --- a/install +++ b/install @@ -59,6 +59,9 @@ cp -v conf/mpv.conf $HOME/.config/mpv/mpv.conf mkdir -vp $HOME/.var/app/io.mpv.Mpv/config/mpv cp -v conf/mpv.conf $HOME/.var/app/io.mpv.Mpv/config/mpv/mpv.conf +# systemd +mkdir -vp $HOME/.config/systemd/user/ + # if I am performing ident spoofing already, I don't want to touch it if [ ! -f $HOME/.oidentd.conf ]; then cp -v conf/oidentd.conf $HOME/.oidentd.conf @@ -158,6 +161,11 @@ if [ "$(id -u)" == "0" ]; then cp etc/ssh/sshd_config.d/00-basic-security.conf /etc/ssh/sshd_config.d/ chmod -v a+r /etc/ssh/sshd_config.d/*.conf + # Systemd configuration directories. No configuration placed, so safe. + mkdir -vp /etc/systemd/{system,system-preset,user,network}/ + mkdir -vp /etc/systemd/system/{app.slice.d,service.d}/ + mkdir -vp /etc/systemd/{coredump,login,oomd,journald,resolved,system,timesyncd}.conf.d/ + # Enables laziness on checking whether or not apt is installed mkdir -vp /etc/apt/apt.conf.d/ # Enables progress bar and colours for apt/dpkg, which are helpful at