This commit is contained in:
qo-op 2020-05-11 03:42:02 +02:00
parent 1bac240fae
commit 2584c49341
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ NANODATE=$(date -u +%s%N) #1569692075385428020
## IS IT A SMS NODE (gammu-smsd is installed)??
if [[ $(which gammu-smsd) ]]; then
[[ ! $MASTERPHONE ]] && echo "MISSING MASTERPHONE run from init.sh" && exit 1
echo $MASTERPHONE > "~/.zen/ipfs/.$IPFSNODEID/G1SSB/_sms"
echo $MASTERPHONE > ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_sms
else
if [ -f "~/.zen/ipfs/.$IPFSNODEID/G1SSB/_sms" ]; then rm -f "~/.zen/ipfs/.$IPFSNODEID/G1SSB/_sms"; fi
if [ -f ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_sms ]; then rm -f ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_sms; fi
fi
NODE_G1PUBKEY=$(cat ~/.ssb/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)