Update linupx-scripts.sh

This commit is contained in:
2025-05-03 11:27:43 -05:00
parent ec85afc191
commit 5ae671641c

View File

@@ -770,6 +770,11 @@ POSTFIX_INSTALL(){
[ ${action-x} ] && exit 0
ENTER2CONTINUE
}
POSTFIX_CLEARQUEUE(){
systemctl stop postfix
postsuper -d ALL
systemctl start postfix
}
BASHRC_INSTALL(){
echo -e "${idsCL[Green]}Installing root/.bashrc${idsCL[Default]}"
/usr/bin/wget -O ~/.bashrc https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/bashrc
@@ -1220,6 +1225,7 @@ if [ ${action-x} ]; then
watchtower) INSTALL_WATCHTOWER ${2};;
docker-cleanup) DOCKER_CLEANUP;;
syncthing-update) SYNCTHING_APT_UPDATE;;
mailclear) POSTFIX_CLEARQUEUE;;
# *) echo "Thats an invaild option,";
# exit 1;;
esac