From af297b347468145071444b41e8d9ca5da0215b00 Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Sun, 18 Oct 2020 22:35:59 +0000 Subject: [PATCH] Update i.sh --- i.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/i.sh b/i.sh index 097d687..fbe5e8b 100644 --- a/i.sh +++ b/i.sh @@ -51,9 +51,9 @@ apt-get update ## Install common system utilities -/usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' install whois omping tmux sshpass wget axel nano pigz net-tools htop iptraf iotop iftop iperf vim vim-nox unzip zip software-properties-common aptitude curl dos2unix dialog mlocate build-essential git ipset htop +/usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' install whois omping tmux sshpass wget axel nano pigz net-tools iptraf iotop iftop iperf unzip zip software-properties-common aptitude curl dos2unix dialog mlocate build-essential git ipset htop fish neofetch #snmpd snmp-mibs-downloader - +chsh -s /usr/bin/fish ## Install kexec, allows for quick reboots into the latest updated kernel set as primary in the boot-loader. # use command 'reboot-quick' @@ -76,6 +76,8 @@ WantedBy=kexec.target EOF systemctl enable kexec-pve.service echo "alias reboot-quick='systemctl kexec'" >> /root/.bash_profile +mkdir -p /root/.config/fish + echo "alias reboot-quick 'systemctl kexec'" >> /root/.config/fish/config.fish ## Remove no longer required packages and purge old cached updates /usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' autoremove