OSDN Git Service

New service: agetty@,
authormobinmob <mobinmob@disroot.org>
Sat, 20 Feb 2021 21:14:01 +0000 (23:14 +0200)
committermobinmob <mobinmob@disroot.org>
Sat, 20 Mar 2021 16:37:16 +0000 (18:37 +0200)
- based on tty-rc@ service by @Obarun (boot-66serv)
- created after a report from @fungilife on the 66 m-l.

usr/share/66/service/agetty@ [new file with mode: 0644]

diff --git a/usr/share/66/service/agetty@ b/usr/share/66/service/agetty@
new file mode 100644 (file)
index 0000000..54bcad3
--- /dev/null
@@ -0,0 +1,12 @@
+#The service takes a tty as @I, e.g. agetty@tty6
+[main]
+@type = classic
+@version = 0.0.1
+@description = "Launch agetty @ @I"
+@user = ( root )
+
+[start]
+@execute = ( execl-cmdline -s { agetty ${cmd_args} @I } )
+
+[environment]
+cmd_args=!-J 38400