mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 01:40:16 +01:00
use wget instead of git clone
This commit is contained in:
parent
7dfd89cab9
commit
94ca2a904a
@ -154,7 +154,7 @@ if [ "${baseImage}" = "ubuntu" ] || [ "${baseImage}" = "armbian" ]; then
|
||||
sudo adduser pi sudo
|
||||
fi
|
||||
|
||||
# special prepare when Nvidia Jetson Nano
|
||||
# special prepare when Nvidia Jetson Nano
|
||||
if [ ${isNvidia} -eq 1 ] ; then
|
||||
# disable GUI on boot
|
||||
sudo systemctl set-default multi-user.target
|
||||
@ -407,7 +407,7 @@ if [ ${isAARCH64} -eq 1 ] ; then
|
||||
fi
|
||||
if [ ${isX86_64} -eq 1 ] ; then
|
||||
bitcoinOSversion="x86_64-linux-gnu"
|
||||
fi
|
||||
fi
|
||||
if [ ${isX86_32} -eq 1 ] ; then
|
||||
bitcoinOSversion="i686-pc-linux-gnu"
|
||||
fi
|
||||
@ -530,11 +530,11 @@ fi
|
||||
if [ ${isX86_64} -eq 1 ] ; then
|
||||
lndOSversion="amd64"
|
||||
lndSHA256=$(grep -i "linux-$lndOSversion" manifest-v$lndVersion.txt | cut -d " " -f1)
|
||||
fi
|
||||
fi
|
||||
if [ ${isX86_32} -eq 1 ] ; then
|
||||
lndOSversion="386"
|
||||
lndSHA256=$(grep -i "linux-$lndOSversion" manifest-v$lndVersion.txt | cut -d " " -f1)
|
||||
fi
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "*** LND v${lndVersion} for ${lndOSversion} ***"
|
||||
@ -596,7 +596,7 @@ sudo apt-get -y install screen
|
||||
|
||||
# for multiple (detachable/background) sessions when using SSH
|
||||
sudo apt-get -y install tmux
|
||||
sudo -u admin git clone https://github.com/gpakosz/.tmux.git /home/admin/
|
||||
sudo -u admin wget -o ~/.tmux.conf https://github.com/gpakosz/.tmux/raw/01c91ba5231eb2e7b32cc2f47ac9022efae87962/.tmux.conf
|
||||
|
||||
# optimization for torrent download
|
||||
sudo bash -c "echo 'net.core.rmem_max = 4194304' >> /etc/sysctl.conf"
|
||||
|
@ -90,7 +90,6 @@ sed -i "6s/.*/After=${network}d.service/" /home/admin/assets/lnd.service >> ${lo
|
||||
sudo cp /home/admin/assets/lnd.service /etc/systemd/system/lnd.service >> ${logFile} 2>&1
|
||||
#sudo chmod +x /etc/systemd/system/lnd.service >> ${logFile} 2>&1
|
||||
|
||||
sudo ln -s -f /home/admin/.tmux/.tmux.conf /home/admin/.tmux.conf >> ${logFile} 2>&1
|
||||
sudo cp /home/admin/assets/tmux.conf.local /mnt/hdd/.tmux.conf.local >> ${logFile} 2>&1
|
||||
sudo chown admin:admin /mnt/hdd/.tmux.conf.local >> ${logFile} 2>&1
|
||||
sudo ln -s -f /mnt/hdd/.tmux.conf.local /home/admin/.tmux.conf.local >> ${logFile} 2>&1
|
||||
|
@ -294,3 +294,6 @@ set -g mouse on
|
||||
|
||||
# move status line to top
|
||||
#set -g status-position top
|
||||
|
||||
# re-set/update environment - useful for SSH agent
|
||||
bind-key s send-keys "eval $(tmux show-environment -s)" Enter
|
||||
|
Loading…
Reference in New Issue
Block a user