install: write and comment iwd enabling, since I am not actually brave enough for it

This commit is contained in:
Aminda Suomalainen 2025-11-22 09:58:13 +02:00
parent 64f37dd54e
commit ac6e79f238
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

12
install
View File

@ -245,6 +245,18 @@ if [ "$(id -u)" == "0" ]; then
chmod -v 600 /etc/geolocation
fi
# DANGER of breaking wireless NETWORKS.
# TODO: I am not brave enough for this.
#if [ -f /usr/lib/systemd/system/iwd.service ]; then
# if [ -f /usr/lib/systemd/system/NetworkManager.service ]; then
# if [ -d /etc/NetworkManager/conf.d ]; then
# cp -v etc/NetworkManager/conf.d/iwd.conf /etc/NetworkManager/conf.d/
# cp -v etc/systemd/system/NetworkManager.service.d/iwd-needed.conf /etc/systemd/system/NetworkManager.service.d/
# systemctl unmask iwd.service
# fi
# fi
#fi
# STRANGE BEHAVIOUR WARNING IF NOT ME.
cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.service /etc/systemd/system/
cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.timer /etc/systemd/system/