Explorar el Código

Variables for showing list of mesh users

Bob Mottram hace 7 años
padre
commit
c6c28e5ce4
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3
    4
      src/freedombone-image-customise

+ 3
- 4
src/freedombone-image-customise Ver fichero

@@ -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