Commit ca5d3192 authored by Sven enniK's avatar Sven enniK

fix kernel pkg check

parent d58af5f9
......@@ -3,7 +3,7 @@
{% from 'config.jinja' import kernel_release, kernel_pkg_check %}
{# install only than Kernel Package available #}
{% if kernel_pkg_check == '1' %}
{% if kernel_pkg_check >= '1' %}
linux-headers:
pkg.installed:
- name: linux-headers-{{ kernel_release }}
......
......@@ -2,7 +2,7 @@
{% from 'config.jinja' import kernel_pkg_check %}
{# install only than Kernel Package available #}
{% if kernel_pkg_check == '1' %}
{% if kernel_pkg_check >= '1' %}
/etc/wireguard-backbone/wg-backbone.sh:
file.managed:
......
......@@ -2,7 +2,7 @@
{% from 'config.jinja' import kernel_pkg_check, ddmesh_disable_gateway %}
{# install only than Kernel Package available #}
{% if kernel_pkg_check == '1' %}
{% if kernel_pkg_check >= '1' %}
{# Package #}
wireguard:
......@@ -130,5 +130,5 @@ wgvpn1_service_dead:
- file: /etc/config/ffdd
- file: /etc/config/ffdd_sample
{# end if kernel_pkg_check == '1' #}
{# end if kernel_pkg_check >= '1' #}
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment