forked from axiom-team/astrXbian
corrections
This commit is contained in:
parent
6b579d9347
commit
21297c4c8d
11
ISOconfig.sh
11
ISOconfig.sh
|
@ -105,8 +105,9 @@ mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/G1SSB
|
|||
# Give $XZUID to your (gchange friends) to add in Vstream Astroport and access your sharings
|
||||
# IPNS link to "pastebin list" http://localhost:8181/ipns/$IPNSKEY/xbian/$XZUID
|
||||
########################################################################
|
||||
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)-$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)$(hostname -I | cut -d ' ' -f 1 | cut -d "." -f 4 )
|
||||
XZUID=$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)$(hostname -I | cut -d ' ' -f 1 | cut -d "." -f 4 )$(~/.zen/astrXbian/zen/tools/diceware.sh 1 | xargs)
|
||||
echo "CREATE ~/.zen/ipfs/xbian/$XZUID"
|
||||
mkdir -p ~/.zen/ipfs/xbian
|
||||
touch ~/.zen/ipfs/xbian/$XZUID
|
||||
# https://github.com/Kodi-vStream/venom-xbmc-addons/wiki/Voir-et-partager-sa-biblioth%C3%A8que-priv%C3%A9e#d%C3%A9clarer-des-films
|
||||
echo "$XZUID" > ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid
|
||||
|
@ -172,17 +173,19 @@ echo 'SEND ipfstryme to oasis' # Add your bootstrap Pub here
|
|||
########################################################################
|
||||
echo 'INSTALL Astroport cron_MINUTE'
|
||||
########################################################################
|
||||
~/.zen/astrXbian/zen/tools/cron_VRFY.sh
|
||||
~/.zen/astrXbian/zen/cron_VRFY.sh
|
||||
|
||||
# Run only once: comment /etc/rc.local (su - xbian -c "~/.zen/astrXbian/ISOconfig.sh")
|
||||
# sudo sed -i s/su/\#su/g /etc/rc.local
|
||||
# BETTER NOT: Send new 'ipfstryme' message on each boot is done instead
|
||||
|
||||
echo "CHANGE hostname"
|
||||
sudo sed -i s/astrxbian/$XZUID/g /etc/hostname
|
||||
sudo sed -i s/astrxbian/$XZUID/g /etc/hosts
|
||||
astrxbian=$(hostname)
|
||||
sudo sed -i s/$astrxbian/$XZUID/g /etc/hostname
|
||||
sudo sed -i s/$astrxbian/$XZUID/g /etc/hosts
|
||||
|
||||
echo "CHANGE DNS" # Avoid provider restrictions
|
||||
sudo mv /etc/resolv.conf /etc/resolv.conf.old
|
||||
sudo cat > /etc/resolv.conf <<EOF
|
||||
domain home
|
||||
search home
|
||||
|
|
|
@ -11,7 +11,7 @@ gitpath="https://git.p2p.legal/axiom-team/astroport/raw/master"
|
|||
|
||||
echo "Add colors ..."
|
||||
curl -s $gitpath/.install/export_colors.sh | bash || exit 1
|
||||
[[ -n $(grep ".bash_aliases" ~/.bashrc) ]] && echo ". ~/.bash_aliases" ~/.bashrc
|
||||
[[ -n $(grep ".bash_aliases" ~/.bashrc) ]] && echo ". ~/.bash_aliases" >> ~/.bashrc
|
||||
. ~/.bash_aliases
|
||||
|
||||
# Get arguments
|
||||
|
|
Loading…
Reference in New Issue