Start XDM and disable console getty
This commit is contained in:
parent
6f360e89f0
commit
d6b836e723
1 changed files with 12 additions and 0 deletions
|
@ -4,3 +4,15 @@
|
||||||
pkgin:
|
pkgin:
|
||||||
name: firefox,motif,vim-motif,xlockmore-lite
|
name: firefox,motif,vim-motif,xlockmore-lite
|
||||||
state: present
|
state: present
|
||||||
|
- name: Enable xdm
|
||||||
|
become: true
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/rc.conf
|
||||||
|
regexp: ^xdm=.*
|
||||||
|
line: xdm=YES
|
||||||
|
- name: Disable console getty
|
||||||
|
become: true
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/ttys
|
||||||
|
regexp: ^console\s+
|
||||||
|
line: 'console "/usr/libexec/getty Pc" vt100 off secure'
|
||||||
|
|
Loading…
Reference in a new issue