浏览代码

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