Added function calls for FreeBSD sleep states
This commit is contained in:
parent
2923d4d3f4
commit
431ac0b0d9
@ -4,13 +4,13 @@
|
||||
{% if settings.disable %}
|
||||
# Disable sleep via sysrc
|
||||
sleep_disable_sysrc:
|
||||
sysrc:
|
||||
sysrc.managed:
|
||||
- name: 'kern.suspend_blocked'
|
||||
- value: '1'
|
||||
{% else %}
|
||||
# Enable sleep via sysrc
|
||||
sleep_enable_sysrc:
|
||||
sysrc:
|
||||
sysrc.managed:
|
||||
- name: 'kern.suspend_blocked'
|
||||
- value: '0'
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user