23 lines
436 B
Desktop File
23 lines
436 B
Desktop File
[Unit]
|
|
Description=Textmode Shell
|
|
After=multi-user.target
|
|
|
|
[Service]
|
|
Environment=TTY=1
|
|
WorkingDirectory=/storage
|
|
ExecStartPre=/bin/sh -c 'echo -en "\033[?25h"'
|
|
ExecStart=/bin/sh -c 'clear; lsb_release; . /etc/profile; exec /bin/sh'
|
|
|
|
Restart=always
|
|
RestartSec=0
|
|
StandardInput=tty
|
|
TTYPath=/dev/tty1
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
KillMode=process
|
|
IgnoreSIGPIPE=no
|
|
# bash ignores SIGTERM
|
|
KillSignal=SIGHUP
|
|
|
|
[Install]
|
|
WantedBy=textmode.target
|