Re: Where can I 'setterm -blank 5 -powerdown 6' as part of the boot process/systemd startup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux