Skip to content
Snippets Groups Projects
Commit 9a7ee7bc authored by Bob Mottram's avatar Bob Mottram
Browse files

List of unique users

parent 32aaaebe
No related branches found
No related tags found
No related merge requests found
......@@ -770,7 +770,7 @@ function configure_user_interface {
# Produce a text file on the desktop listing users on the mesh
cat <<EOF > $rootdir/usr/bin/list-tox-users
#!/bin/bash
users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d)
users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d | uniq)
if [ ! \$users_list ]; then
no_of_users=0
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment