mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-04 12:05:04 +02:00
use wget instead of git clone
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user