|
|
@ -493,7 +493,6 @@ function inserir_sql(){ |
|
|
|
[ $? -eq 0 ] && sair_instalacao |
|
|
|
[ $? -eq 0 ] && sair_instalacao |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -547,7 +546,7 @@ definir_timezone |
|
|
|
|
|
|
|
|
|
|
|
#deslogar todos os usuários |
|
|
|
#deslogar todos os usuários |
|
|
|
PID_USER=$(ps -ef | egrep '(tty|pts)'| grep -vE "$tty_user"|awk '{print $2}') |
|
|
|
PID_USER=$(ps -ef | egrep '(tty|pts)'| grep -vE "$tty_user"|awk '{print $2}') |
|
|
|
[ -n $PID_USER ] && /bin/kill -9 $(ps -ef | egrep '(tty|pts)'| grep -vE "$tty_user"|awk '{print $2}') |
|
|
|
[ -n "$PID_USER" ] && /bin/kill -9 $(ps -ef | egrep '(tty|pts)'| grep -vE "$tty_user"|awk '{print $2}') |
|
|
|
cd $path_arquivo |
|
|
|
cd $path_arquivo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|