Update mm-scripts.sh
This commit is contained in:
@@ -845,6 +845,8 @@ MMSETUP(){
|
|||||||
read -n 1 -p "This will reset the config, do you wish to continue (y/N)?" choice
|
read -n 1 -p "This will reset the config, do you wish to continue (y/N)?" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Yy])
|
[Yy])
|
||||||
|
echo
|
||||||
|
MMSTOP
|
||||||
echo
|
echo
|
||||||
echo -en "${idsCL[LightCyan]}Resetting config ... ${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}Resetting config ... ${idsCL[Default]}"
|
||||||
sed -i '/SERVICESCHECK/d' ${MMFOLDER}/settings.conf
|
sed -i '/SERVICESCHECK/d' ${MMFOLDER}/settings.conf
|
||||||
@@ -949,6 +951,7 @@ USAGE(){
|
|||||||
echo -e " ${idsCL[Yellow]}check${idsCL[Default]} --> Crontab job for maintaining VPN & Media Services (run */1 min)"
|
echo -e " ${idsCL[Yellow]}check${idsCL[Default]} --> Crontab job for maintaining VPN & Media Services (run */1 min)"
|
||||||
echo -e " ${idsCL[Yellow]}clear${idsCL[Default]} --> Clear all tmp files"
|
echo -e " ${idsCL[Yellow]}clear${idsCL[Default]} --> Clear all tmp files"
|
||||||
echo -e " ${idsCL[Yellow]}update${idsCL[Default]} --> Check for and install new updates"
|
echo -e " ${idsCL[Yellow]}update${idsCL[Default]} --> Check for and install new updates"
|
||||||
|
echo -e " ${idsCL[Yellow]}setup${idsCL[Default]} --> Setup/Reconfigure Settings"
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user