use wget instead of git clone

This commit is contained in:
Robert Habermann
2019-10-06 12:57:48 +02:00
parent 7dfd89cab9
commit 94ca2a904a
3 changed files with 8 additions and 6 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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