Enable getty on ttyE0
This commit is contained in:
parent
0beb1c7340
commit
8b724ff9c4
1 changed files with 7 additions and 1 deletions
|
@ -10,9 +10,15 @@
|
||||||
path: /etc/rc.conf
|
path: /etc/rc.conf
|
||||||
regexp: ^xdm=.*
|
regexp: ^xdm=.*
|
||||||
line: xdm=YES
|
line: xdm=YES
|
||||||
- name: Disable console getty
|
- name: Disable getty on /dev/console
|
||||||
become: true
|
become: true
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/ttys
|
path: /etc/ttys
|
||||||
regexp: ^console\s+
|
regexp: ^console\s+
|
||||||
line: 'console "/usr/libexec/getty Pc" vt100 off secure'
|
line: 'console "/usr/libexec/getty Pc" vt100 off secure'
|
||||||
|
- name: Enable getty on /dev/ttyE0
|
||||||
|
become: true
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/ttys
|
||||||
|
regexp: ^ttyE0\s+
|
||||||
|
line: 'ttyE0 "/usr/libexec/getty Pc" wsvt25 on secure'
|
||||||
|
|
Loading…
Reference in a new issue