forked from axiom-team/astroport
init g1sms
This commit is contained in:
parent
afba88130d
commit
52e7ddb7bd
|
@ -7,13 +7,12 @@
|
|||
MY_PATH="`dirname \"$0\"`" # relative
|
||||
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||
|
||||
[[ ! $($which bc) ]] && sudo apt-get install bc -y
|
||||
|
||||
[[ ! $($which bc) ]] && sudo apt-get install bc -y ## TODO: migration need TO REMOVE
|
||||
[[ ! -f /tmp/g1sms.log ]] && echo "ASTROPORT G1SMS ACTIVITY" > /tmp/g1sms.log && chmod 777 /tmp/g1sms.log
|
||||
function log () {
|
||||
[[ "$DOLOG" == "YES" ]] && echo "$PHONE:$1" >> /tmp/astroport.log;
|
||||
[[ "$DOLOG" == "YES" ]] && echo "$PHONE:$1" >> /tmp/g1sms.log;
|
||||
}
|
||||
|
||||
|
||||
###################################################################################################################################
|
||||
fn_exists() {
|
||||
# appended double quote is an ugly trick to make sure we do get a string -- if $1 is not a known command, type does not output anything
|
||||
|
|
|
@ -20,6 +20,15 @@ ME="${0##*/}"
|
|||
## TODO: REMOVE DUPLICATES
|
||||
## TODO: MODE : COOL, STRAIGHT, ARMORED
|
||||
|
||||
########################################################################
|
||||
## CONNECT GLOBAL "ipfs.io" ## DANGEROUS only for short time...
|
||||
########################################################################
|
||||
# ADD ipfs.io public bootstrap into your swarm peers
|
||||
# RUN: cat ~/.zen/astroport/ipfs.swarm.ipfs.io | ipfs swarm connect
|
||||
# SOON ipfs swarm peers will GROW!!! YOU ARE VSIBLE !!!
|
||||
# RUN: sudo systemctl restart ipfs # GOES BACK TO SWARM0
|
||||
########################################################################
|
||||
|
||||
########################################################################
|
||||
# ENVIRONEMENT DETECTION + IPFS ~/.zen/ipfs/.$ipfsnodeid/G1SSB/_info
|
||||
########################################################################
|
||||
|
|
Loading…
Reference in New Issue