Skip to content

Commit

Permalink
add missing apache_speedtest in config.jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
cremesk committed Dec 4, 2024
1 parent cbdbedf commit f332e6d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions salt/freifunk/base/config.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@
{% set custom_branch = salt['cmd.shell']('/usr/local/sbin/uci -qX get ffdd.sys.branch') %}

{% set autoupdate = salt['cmd.shell']('/usr/local/sbin/uci -qX get ffdd.sys.autoupdate') %}
{% set freifunk_version = salt['cmd.shell']('test -f /usr/local/bin/freifunk-version && /usr/local/bin/freifunk-version || printf "n.a\n"') %}

{% set freifunk_version = salt['cmd.shell']('test -f /usr/local/bin/freifunk-version && /usr/local/bin/freifunk-version || printf "n.a.\n"') %}
{% set devmode = salt['cmd.shell']('/usr/local/sbin/uci -qX get ffdd.sys.devmode || true') %}


{% set ddmesh_registerkey = salt['cmd.shell']('/usr/local/sbin/uci -qX get ffdd.sys.ddmesh_registerkey') %}

{% set servername = salt['cmd.shell']('/usr/local/sbin/uci -qX get ffdd.sys.servername') %}
Expand All @@ -38,9 +36,9 @@

{% set announce_gateway = salt['cmd.shell']('/usr/local/sbin/uci -qX get ffdd.sys.announce_gateway') %}
{% set apache_ddos_prevent = salt['cmd.shell']('/usr/local/sbin/uci -qX get ffdd.sys.apache_ddos_prevent || true') %}
{% set apache_speedtest = salt['cmd.shell']('/usr/local/sbin/uci -qX get ffdd.sys.apache_speedtest || true') %}


{# check hostnamectl #}
{% set chassis = salt['cmd.shell']("hostnamectl status | awk '/Chassis/ {print $2}'") %}

{# ctime - used for crontab minutes #}
Expand Down

0 comments on commit f332e6d

Please sign in to comment.