On Tue, Jan 26, 2016 at 2:35 PM, Mantas Mikulėnas <[email protected]> wrote:

> On Tue, Jan 26, 2016 at 3:31 PM, Martin Vogt <[email protected]> wrote:
>
>>
>> I need the console in a shutdownselect.service file (and in the script)
>> where the user pressed CTRL+ALT+DEL.
>>
>> I cannot figure out how to do it.
>>
>> The script started from systemd gets for the tty command "not a tty"
>>
>
> StandardOutput=tty? /sys/class/tty/tty0/active?
>
>
Ok, thanks.
The /sys/class/tty/tty0/active entry works for me.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to