소스 검색

Variables for showing list of mesh users

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

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

@@ -887,13 +887,12 @@ function configure_user_interface {
887 887
     # for gtk dialog entry
888 888
     chroot "$rootdir" apt-get -yq install zenity
889 889
 
890
-    StrMeshUsers=$"Mesh Users"
891
-    StrUsername=$'Username'
892
-    StrToxID=$'Tox ID'
893
-
894 890
     # Produce a text file on the desktop listing users on the mesh
895 891
     cat <<EOF > $rootdir/usr/bin/list-tox-users
896 892
 #!/bin/bash
893
+StrMeshUsers=\$"Mesh Users"
894
+StrUsername=\$'Username'
895
+StrToxID=\$'Tox ID'
897 896
 ethernet_connected=\$(cat /sys/class/net/eth0/carrier)
898 897
 users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d | uniq)
899 898
 if [ \${#users_list} -eq 0 ]; then