Per Jessen wrote:
Per Jessen wrote:
That's a little over-engineered, I think. My 3-line drop-in achieves the same:
# /etc/systemd/system/getty@.service.d/powersave.conf [Service] Environment=TERM=linux ExecStartPost=/usr/bin/setterm -blank 2 -powerdown 5 /dev/%I
Correction, this is what we ended up with:
/etc/systemd/system/getty\@.service.d/powersave.conf
[Service] Environment=TERM=linux ExecStartPost=-/usr/bin/setterm -powersave on >/dev/%I ExecStartPost=/usr/bin/setterm -blank 2 -powerdown 5 >/dev/%I
Remarkably, "/usr/bin/setterm -powersave on" works fine when issued from a console.
Uh, it works on some machines, not all. I wonder if it might be dependent on the graphics driver. -- Per Jessen, Zürich (23.7°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org