updare
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='3.9.6-07092023'
|
VERS='3.9.10-07092023'
|
||||||
|
|
||||||
MMFOLDER="/opt/idssys/mediamanager"
|
MMFOLDER="/opt/idssys/mediamanager"
|
||||||
TMPFOLDER="${MMFOLDER}/.tmp"
|
TMPFOLDER="${MMFOLDER}/.tmp"
|
||||||
|
|||||||
@@ -578,7 +578,7 @@ MMSTOP(){
|
|||||||
touch ${TMPFOLDER}/mm.stop
|
touch ${TMPFOLDER}/mm.stop
|
||||||
}
|
}
|
||||||
FULLSTOP(){
|
FULLSTOP(){
|
||||||
echo -en "${idsCL[LightCyan]}Stopping background MM scripts... ${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}Stopping any background MM scripts still running... ${idsCL[Default]}"
|
||||||
getMMbash=$(pgrep -f '/mm') >/dev/null 2>&1
|
getMMbash=$(pgrep -f '/mm') >/dev/null 2>&1
|
||||||
for i in ${getMMbash}; do
|
for i in ${getMMbash}; do
|
||||||
[ ${i} -ne ${BASHPID} ] && /bin/kill -s PIPE ${i} >/dev/null 1>&2
|
[ ${i} -ne ${BASHPID} ] && /bin/kill -s PIPE ${i} >/dev/null 1>&2
|
||||||
|
|||||||
Reference in New Issue
Block a user