updated pve essentials scripts

This commit is contained in:
2026-05-02 08:06:30 +00:00
parent 59d49fe43d
commit c48c1492af
+3 -3
View File
@@ -26,7 +26,7 @@ rm /etc/motd > /dev/null 2>&1
# set input preferences # set input preferences
if [[ ! -f /etc/inputrc.default ]] if [[ ! -f /etc/inputrc.default ]]
then wget -qO /etc/inputrc.default http://192.168.1.50/debian/inputrc.default then wget -qO /etc/inputrc.default http://192.168.1.50:81/debian/inputrc.default
fi fi
rm /etc/inputrc > /dev/null 2>&1 rm /etc/inputrc > /dev/null 2>&1
cp /etc/inputrc.default /etc/inputrc cp /etc/inputrc.default /etc/inputrc
@@ -35,7 +35,7 @@ echo "set completion-ignore-case On" >> /etc/inputrc
# set bash preferences and aliases # set bash preferences and aliases
if [[ ! -f /etc/bash.bashrc.default ]] if [[ ! -f /etc/bash.bashrc.default ]]
then wget -qO /etc/bash.bashrc.default http://192.168.1.50/debian/bash.bashrc.default then wget -qO /etc/bash.bashrc.default http://192.168.1.50:81/debian/bash.bashrc.default
fi fi
rm /etc/bash.bashrc > /dev/null 2>&1 rm /etc/bash.bashrc > /dev/null 2>&1
cp /etc/bash.bashrc.default /etc/bash.bashrc cp /etc/bash.bashrc.default /etc/bash.bashrc
@@ -64,7 +64,7 @@ echo "alias snano='sudo nano'" >> /etc/bash.bashrc
echo "alias sreboot='sudo reboot'" >> /etc/bash.bashrc echo "alias sreboot='sudo reboot'" >> /etc/bash.bashrc
echo "alias spoweroff='sudo poweroff'" >> /etc/bash.bashrc echo "alias spoweroff='sudo poweroff'" >> /etc/bash.bashrc
echo "alias tf='sudo tail -f'" >> /etc/bash.bashrc echo "alias tf='sudo tail -f'" >> /etc/bash.bashrc
echo "alias aptupy='sudo apt update && sudo apt upgrade -y'" >> /etc/bash.bashrc echo "alias aptupy='sudo apt update && sudo apt dist-upgrade -y'" >> /etc/bash.bashrc
echo "alias aptiy='sudo apt install -y'" >> /etc/bash.bashrc echo "alias aptiy='sudo apt install -y'" >> /etc/bash.bashrc
echo "alias aptry='sudo apt remove -y'" >> /etc/bash.bashrc echo "alias aptry='sudo apt remove -y'" >> /etc/bash.bashrc
echo "alias aptrpy='sudo apt remove --purge -y'" >> /etc/bash.bashrc echo "alias aptrpy='sudo apt remove --purge -y'" >> /etc/bash.bashrc