From 37a6c58b5afd396dd76cde96043c631267fad954 Mon Sep 17 00:00:00 2001 From: lejubila Date: Fri, 16 Jun 2017 23:06:07 +0200 Subject: [PATCH] Corretto path dei comandi usati per genereare l'id di installazione, venvia generato un identificativo errato --- CHANGELOG.md | 3 +++ piGarden.sh | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7435263..e1bf61e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.4.2 - 16/06/2017 +Fix another problem on generate installation identifier to sendo for statistic + ## 0.4.1 - 14/06/2017 Fix problem on send identifier installation for statistic diff --git a/piGarden.sh b/piGarden.sh index 48748fc..c54e6c1 100755 --- a/piGarden.sh +++ b/piGarden.sh @@ -1474,7 +1474,7 @@ function send_identifier { return fi fi - local ID=`ifconfig | $GREP --color=never -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}' | head -1 | md5sum | $CUT -d" " -f 1` + local ID=`/sbin/ifconfig | $GREP --color=never -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}' | /usr/bin/head -1 | /usr/bin/md5sum | $CUT -d" " -f 1` if [ -z "$ID" ]; then return; fi @@ -1496,7 +1496,7 @@ function debug2 { VERSION=0 SUB_VERSION=4 -RELEASE_VERSION=1 +RELEASE_VERSION=2 DIR_SCRIPT=`dirname $0` NAME_SCRIPT=${0##*/}