소스 검색

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

Bob Mottram 7 년 전
부모
커밋
cd2fbf665b
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0
    4
      src/freedombone-image-customise

+ 0
- 4
src/freedombone-image-customise 파일 보기

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