Customisation TiddlyWiki / Gchange
This commit is contained in:
parent
8e19278f4f
commit
699c9906d2
|
@ -189,6 +189,23 @@ done
|
|||
## ADD tiddlywiki #TODO REMOVE #PUT in ISOConfig for next install
|
||||
[[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/index.html ]] && mkdir -p ~/.zen/ipfs/.${IPFSNODEID} && cp ~/.zen/astrXbian/.install/templates/tiddlywiki/index.html ~/.zen/ipfs/.${IPFSNODEID}/index.html
|
||||
|
||||
##
|
||||
echo "####################################################
|
||||
Customisation TiddlyWiki"
|
||||
zuid="$(cat ~/.zen/ipfs/.$IPFSNODEID/_xbian.zuid )"
|
||||
wiki="/home/$USER/.zen/ipfs/.$IPFSNODEID/index.html"
|
||||
|
||||
# sed -i "s/Moa/<a href=\"https:\/\/www.gchange.fr\/#\/app\/user\/$G1PUB\">(____) $zuid (_____)<\/a>/g" $wiki ## (star) pseudo (score)
|
||||
sed -i "s/Moa/$zuid/g" $wiki ## (star) pseudo (score)
|
||||
GTITLE="$(cat ~/.zen/ipfs/.$IPFSNODEID/G1SSB/_g1.gchange_title)"
|
||||
sed -i "s/$zuid/$GTITLE/g" $wiki ## (star) pseudo (score)
|
||||
# sed -i "s/GettingStarted/<a href=\"https:\/\/tube.copylaradio.com\/ipns\/$IPFSNODEID\/.$IPFSNODEID\">$IPFSNODEID<\/a>/g" $wiki
|
||||
sed -i "s/GettingStarted/$IPFSNODEID/g" $wiki
|
||||
# sed -i "s/Bienvenue/<a href=\"https:\/\/demo.cesium.app\/#\/app\/wot\/$G1PUB\">$G1PUB<\/a>/g" $wiki
|
||||
sed -i "s/Bienvenue/$G1PUB/g" $wiki
|
||||
## sed -i "s/Personnalisez/$G1PUB/g" $wiki ##
|
||||
|
||||
# https:\/\/www.gchange.fr\/#\/app\/records\/wallet?q=$G1PUB
|
||||
|
||||
# REFRESH IPNS SELF PUBLISH
|
||||
########################################################################
|
||||
|
|
|
@ -63,6 +63,7 @@ do
|
|||
echo "__________________________________________"
|
||||
done
|
||||
|
||||
|
||||
for peerline in $(cat /tmp/ipfstryme.* | sort | uniq);
|
||||
do
|
||||
echo "======================================================"
|
||||
|
@ -129,9 +130,12 @@ My actual #SWARM0"
|
|||
ipfs swarm peers
|
||||
echo $(date)
|
||||
|
||||
echo "####################################################"
|
||||
|
||||
# ipfs SWARM shaping
|
||||
[[ $(cat ~/.zen/A_my_swarm.txt | wc -l) -gt 0 ]] && ~/.zen/astrXbian/zen/ipfs_SWARM_refresh.sh && exit 0 || echo "SWARM LOST !! "
|
||||
|
||||
|
||||
########################################################################
|
||||
## SWARM LOST !! EMERGENCY RECOVERY !! TEST CODE
|
||||
########################################################################
|
||||
|
|
Loading…
Reference in New Issue