diff --git a/salt/freifunk/base/ddmesh/var/www_freifunk/status.cgi b/salt/freifunk/base/ddmesh/var/www_freifunk/status.cgi index bbe0ef1d..79d8dcd2 100755 --- a/salt/freifunk/base/ddmesh/var/www_freifunk/status.cgi +++ b/salt/freifunk/base/ddmesh/var/www_freifunk/status.cgi @@ -53,7 +53,7 @@ cat<Knoten-IP-Adresse:$_ddmesh_ip ($_ddmesh_node) Network ID:$(uci -qX get ffdd.sys.network_id) Community Server:$(if [ "$(uci -qX get ffdd.sys.community_server)" -eq '1' ]; then printf 'yes'; else printf 'no'; fi) -Hostname:$(head -n1 /etc/hostname) +Hostname:$(sed -e '/^#/d' /etc/hostname) Nameserver:$(grep nameserver /etc/resolv.conf | sed 's#nameserver##g') Gerätelaufzeit:$(uptime) Prozesse:$(ps --no-headers xa | wc -l)