diff --git a/shell/functions.sh b/shell/functions.sh index d25a250..aee4c61 100755 --- a/shell/functions.sh +++ b/shell/functions.sh @@ -251,7 +251,7 @@ function sms_uid2key (){ # FIND ASKWALLET into wallets, wallest_swarm OR duniter (silkaj) DESTMEM="$VIRDEST" # SEARCH IN WALLETS - LOCAL=$(grep -Rwl "$ASKWALLET" ./wallets/*/*.uidna* | cut -f 3 -d '/') + LOCAL=$(grep -Rwl "$ASKWALLET" ./wallets/*/*.uidna | cut -f 3 -d '/') if [[ "$LOCAL" != "" ]]; then # LOCAL G1sms account DESTRIB=$(cat ./wallets/$LOCAL/$LOCAL.pub) @@ -259,7 +259,7 @@ function sms_uid2key (){ log "__SUB:sms_uid2key: FOUND LOCAL ($MASTERPHONE) G1sms+ wallet: $DESTRIB ($LOCAL)" else # SEARCH IN WALLETS SWARM - INSWARM=$(grep -Rwl "$ASKWALLET" ./wallets_swarm/*/*.uidna* | cut -f 3 -d '/') + INSWARM=$(grep -Rwl "$ASKWALLET" ./wallets_swarm/*/*.uidna | cut -f 3 -d '/') if [[ "$INSWARM" != "" ]]; then REMOTENODE=$(cat ./wallets_swarm/$INSWARM/MASTERPHONE.sms) DESTRIB=$(cat ./wallets_swarm/$INSWARM/$INSWARM.pub) diff --git a/shell/sms_REC.sh b/shell/sms_REC.sh index 27c8173..7ec15d1 100755 --- a/shell/sms_REC.sh +++ b/shell/sms_REC.sh @@ -79,7 +79,7 @@ else log "__SUB:sms_REC.sh: SEARCH $VIRDEST related wallet!!! $DESTRIB " DESTMEM="$VIRDEST" # SEARCH IN WALLETS - LOCAL=$(grep -Rwl "$DESTMEM" ./wallets/*/*.uidna* | tail -n 1 | cut -f 3 -d '/') + LOCAL=$(grep -Rwl "$DESTMEM" ./wallets/*/*.uidna | tail -n 1 | cut -f 3 -d '/') if [[ "$LOCAL" != "" ]]; then # LOCAL G1sms account DESTRIB=$(cat ./wallets/$LOCAL/$LOCAL.pub) @@ -87,7 +87,7 @@ else log "__SUB:sms_REC.sh: FOUND LOCAL ($MASTERPHONE) G1sms+ wallet: $DESTRIB ($LOCAL)" else # SEARCH IN WALLETS SWARM - SWARMNB=$(grep -Rwl "$DESTMEM" ./wallets_swarm/*/*.uidna* | tail -n 1 | cut -f 3 -d '/') + SWARMNB=$(grep -Rwl "$DESTMEM" ./wallets_swarm/*/*.uidna | tail -n 1 | cut -f 3 -d '/') if [[ "$LOCAL" != "" ]]; then REMOTENODE=$(cat ./wallets_swarm/$SWARMNB/MASTERPHONE.sms) DESTRIB=$(cat ./wallets_swarm/$SWARMNB/$SWARMNB.pub) diff --git a/shell/sms_VIR.sh b/shell/sms_VIR.sh index add5519..ea97204 100755 --- a/shell/sms_VIR.sh +++ b/shell/sms_VIR.sh @@ -48,7 +48,7 @@ else log "__SUB:sms_VIR.sh: SEARCH $VIRDEST related wallet!!! $DESTRIB " DESTMEM="$VIRDEST" # SEARCH IN WALLETS - LOCAL=$(grep -Rwl "$DESTMEM" ./wallets/*/*.uidna* | tail -n 1 | cut -f 3 -d '/') + LOCAL=$(grep -Rwl "$DESTMEM" ./wallets/*/*.uidna | tail -n 1 | cut -f 3 -d '/') if [[ "$LOCAL" != "" ]]; then # LOCAL G1sms account DESTRIB=$(cat ./wallets/$LOCAL/$LOCAL.pub) @@ -56,7 +56,7 @@ else log "__SUB:sms_VIR.sh: FOUND LOCAL ($MASTERPHONE) G1sms+ wallet: $DESTRIB ($LOCAL)" else # SEARCH IN WALLETS SWARM - INSWARM=$(grep -Rwl "$DESTMEM" ./wallets_swarm/*/*.uidna* | tail -n 1 | cut -f 3 -d '/') + INSWARM=$(grep -Rwl "$DESTMEM" ./wallets_swarm/*/*.uidna | tail -n 1 | cut -f 3 -d '/') if [[ "$INSWARM" != "" ]]; then REMOTENODE=$(cat ./wallets_swarm/$INSWARM/MASTERPHONE.sms) DESTRIB=$(cat ./wallets_swarm/$INSWARM/$INSWARM.pub)