summaryrefslogtreecommitdiff
path: root/data/templates/system/40_usb_autosuspend.j2
blob: 01ba864205e6500a14ac11162e0553dfdbff07ba (plain)
1
2
3
4
5
{% set autosuspend = "auto" %}
{% if disable_usb_autosuspend is vyos_defined %}
{%     set autosuspend = "on" %}
{% endif %}
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="{{ autosuspend }}"