dtoverlay=gpio-shutdown,gpio_pin=3,active_low=1,gpio_pull=up

Having issues with your DietPi installation or found a bug? Post it here.
User avatar
Joulinar
Posts: 5115
Joined: Sat Nov 16, 2019 12:49 am

Re: dtoverlay=gpio-shutdown,gpio_pin=3,active_low=1,gpio_pull=up

Post by Joulinar »

Hi,

systemd-logind is masked by default on DietPi and can be unmask on first initial boot if needed

Code: Select all

# Unmask (enable) systemd-logind service (including dbus), which is masked by default on DietPi
AUTO_UNMASK_LOGIND=0
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 3097
Joined: Sat Nov 18, 2017 6:21 pm

Re: dtoverlay=gpio-shutdown,gpio_pin=3,active_low=1,gpio_pull=up

Post by MichaIng »

Yes indeed we have it masked by default since it cannot be "disabled" only. Can be toggled via dietpi.txt AUTO_UNMASK_LOGIND=1 setting before first boot or any dietpi-software install to have it unmasked, and it will be unmasked automatically if dietpi-software finds libpam-systemd installed.

But outstanding indeed is to have this well prominent documented, including a list of things which require it.
Post Reply