Created
October 10, 2025 16:19
-
-
Save 0mhx/be65ceb286c50e6bd866c77de85f07c2 to your computer and use it in GitHub Desktop.
shoiiii
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Serial Console on Gadget | |
| After=systemd-user-sessions.service plymouth-quit-wait.service | |
| After=dev-ttyGS0.device | |
| Requires=dev-ttyGS0.device | |
| [Service] | |
| ExecStart=-/sbin/agetty -L 115200 ttyGS0 vt100 | |
| Restart=always | |
| RestartSec=0 | |
| UtmpIdentifier=ttyGS0 | |
| TTYPath=/dev/ttyGS0 | |
| TTYReset=yes | |
| TTYVHangup=yes | |
| TTYVTDisallocate=yes | |
| KillMode=process | |
| IgnoreSIGPIPE=no | |
| SendSIGHUP=yes | |
| [Install] | |
| WantedBy=getty.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment