Update linupx-scripts.sh
This commit is contained in:
@@ -770,6 +770,11 @@ POSTFIX_INSTALL(){
|
|||||||
[ ${action-x} ] && exit 0
|
[ ${action-x} ] && exit 0
|
||||||
ENTER2CONTINUE
|
ENTER2CONTINUE
|
||||||
}
|
}
|
||||||
|
POSTFIX_CLEARQUEUE(){
|
||||||
|
systemctl stop postfix
|
||||||
|
postsuper -d ALL
|
||||||
|
systemctl start postfix
|
||||||
|
}
|
||||||
BASHRC_INSTALL(){
|
BASHRC_INSTALL(){
|
||||||
echo -e "${idsCL[Green]}Installing root/.bashrc${idsCL[Default]}"
|
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
|
/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};;
|
watchtower) INSTALL_WATCHTOWER ${2};;
|
||||||
docker-cleanup) DOCKER_CLEANUP;;
|
docker-cleanup) DOCKER_CLEANUP;;
|
||||||
syncthing-update) SYNCTHING_APT_UPDATE;;
|
syncthing-update) SYNCTHING_APT_UPDATE;;
|
||||||
|
mailclear) POSTFIX_CLEARQUEUE;;
|
||||||
# *) echo "Thats an invaild option,";
|
# *) echo "Thats an invaild option,";
|
||||||
# exit 1;;
|
# exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user