From 4b4009a6e5f85b13ee0286f6b9665ce455cf704e Mon Sep 17 00:00:00 2001 From: bioxz <bioxz@stderr.cc> Date: Tue, 8 Apr 2014 23:38:37 +0200 Subject: [PATCH] Fixed "Firmware" field in nodewatcher (gluon build number to ffol build number) --- nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh b/nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh index 9131c3f..d54dcb2 100755 --- a/nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh +++ b/nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh @@ -81,7 +81,7 @@ crawl() { #FIRMWARE_REVISION="build date: Di 29. Jan 19:33:34 CET 2013" #OPENWRT_CORE_REVISION="35298" #OPENWRT_FEEDS_PACKAGES_REVISION="35298" - FIRMWARE_VERSION="$(cat /lib/gluon/gluon-version)" + FIRMWARE_VERSION="$(cat /lib/gluon/release)" SYSTEM_DATA="<status>online</status><hostname>$hostname</hostname><distname>$distname</distname><distversion>$distversion</distversion>$cpu$memory$load$uptime<local_time>$local_time</local_time><batman_advanced_version>$batman_adv_version</batman_advanced_version><kernel_version>$kernel_version</kernel_version><fastd_version>$fastd_version</fastd_version><nodewatcher_version>$nodewatcher_version</nodewatcher_version><firmware_version>$FIRMWARE_VERSION</firmware_version><firmware_revision>$FIRMWARE_REVISION</firmware_revision><openwrt_core_revision>$OPENWRT_CORE_REVISION</openwrt_core_revision><openwrt_feeds_packages_revision>$OPENWRT_FEEDS_PACKAGES_REVISION</openwrt_feeds_packages_revision>" err "`date`: Collecting information from network interfaces" -- GitLab