Skip to content

Commit

Permalink
fix: disable blinking cursor on display for x86 devices (#2167)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomiguelino authored Dec 20, 2024
1 parent fadbb3a commit f1dcaca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/system/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
- ansible_distribution_major_version | int >= 12

- name: Copy in rc.local
ansible.builtin.copy:
ansible.builtin.template:
src: rc.local
dest: /etc/rc.local
mode: "0755"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if [ "$(ip address | grep wlan)" ]; then
iwconfig wlan0 power off
fi

{% if device_type == 'x86' %}
echo 0 > /sys/class/graphics/fbcon/cursor_blink
{% endif %}

exit 0

0 comments on commit f1dcaca

Please sign in to comment.