Don't need the process count since the confliciting script is gone

This commit is contained in:
Bob Mottram 2017-10-29 11:04:56 +00:00
parent 153afb2bd9
commit cd2fbf665b
1 changed files with 0 additions and 4 deletions

View File

@ -781,10 +781,6 @@ function mesh_client_startup_applications {
echo '' >> $START_DESKTOP
echo 'INITIAL_TOX_USERNAME=""' >> $START_DESKTOP
echo 'while [ ${#INITIAL_TOX_USERNAME} -eq 0 ]; do' >> $START_DESKTOP
echo ' username_dialog_count=$(ps aux | grep zenity | wc -l)' >> $START_DESKTOP
echo ' if [ $username_dialog_count -gt 1 ]; then' >> $START_DESKTOP
echo ' exit 0' >> $START_DESKTOP
echo ' fi' >> $START_DESKTOP
echo " data=\$(zenity --forms --title=\"$MESH_TITLE\" --text=\"$MESH_SET_USERNAME\" --separator=\",\" --add-entry=\"Username\")" >> $START_DESKTOP
echo ' accepted=$?' >> $START_DESKTOP
echo ' if ((accepted == 0)); then' >> $START_DESKTOP