[arch-general] Where can I 'setterm -blank 5 -powerdown 6' as part of the boot process/systemd startup?

David C. Rankin drankinatty at suddenlinkmail.com
Thu May 31 19:43:10 UTC 2018


On 05/31/2018 02:39 PM, David C. Rankin wrote:
> On 05/26/2018 03:30 AM, Celti Burroughs via arch-general wrote:
>> [Unit]
>> Description=Enable virtual console blanking and poweroff
>>
>> [Service]
>> Type=oneshot
>> Environment=TERM=linux
>> StandardOutput=tty
>> TTYPath=/dev/console
>> ExecStart=/usr/bin/setterm -blank 5 -powerdown 6
>>
>> [Install]
>> WantedBy=multi-user.target
> 
> Thank you Celti!
> 

It works!

After reboot,

$ cat /sys/module/kernel/parameters/consoleblank
300

Awesome...


-- 
David C. Rankin, J.D.,P.E.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20180531/6bb2a02e/attachment-0001.asc>


More information about the arch-general mailing list