Scripts 2059 and new install

This commit is contained in:
castro-fidel
2022-01-13 17:59:48 +03:00
parent 29d7110cd8
commit bbf6b9f104
9 changed files with 294 additions and 44 deletions

View File

@ -629,7 +629,7 @@ pw_kill_autostart () {
if [ "$PW_USE_RUNTIME" != 1 ]
then print_info "PW_USE_RUNTIME=$PW_USE_RUNTIME"
else
sleep 10
sleep 5
while true ; do
if [[ -z "`ps aux | grep -m 1 "$1" | grep -v grep | awk '{print $2}'`" && ! -z "`ps aux | grep wrap | grep -v grep | grep -i ${portname} | head -n 1`" ]] ; then
echo -e "PID "$1" not found"