|  | @@ -894,7 +894,7 @@ function configure_user_interface {
 | 
	
		
			
			| 894 | 894 |      # Produce a text file on the desktop listing users on the mesh
 | 
	
		
			
			| 895 | 895 |      cat <<EOF > $rootdir/usr/bin/list-tox-users
 | 
	
		
			
			| 896 | 896 |  #!/bin/bash
 | 
	
		
			
			| 897 |  | -ethernet_connected=$(cat /sys/class/net/eth0/carrier)
 | 
	
		
			
			|  | 897 | +ethernet_connected=\$(cat /sys/class/net/eth0/carrier)
 | 
	
		
			
			| 898 | 898 |  users_list=\$(lstox | awk -F ' ' '{\$1=""; print \$0}' | sed -e 's/^[[:space:]]*//' | sort -d | uniq)
 | 
	
		
			
			| 899 | 899 |  if [ ! \$users_list ]; then
 | 
	
		
			
			| 900 | 900 |      no_of_users=0
 | 
	
	
		
			
			|  | @@ -1007,7 +1007,7 @@ if [ \$no_of_users -gt 0 ]; then
 | 
	
		
			
			| 1007 | 1007 |  
 | 
	
		
			
			| 1008 | 1008 |      # If ethernet is connected then add the invite icon to help enable
 | 
	
		
			
			| 1009 | 1009 |      # SSB nat traversal
 | 
	
		
			
			| 1010 |  | -    if [[ "$ethernet_connected" != "0" ]]; then
 | 
	
		
			
			|  | 1010 | +    if [[ "\$ethernet_connected" != "0" ]]; then
 | 
	
		
			
			| 1011 | 1011 |          if [ ! -f /home/$MY_USERNAME/Desktop/invite.desktop ]; then
 | 
	
		
			
			| 1012 | 1012 |              echo '[Desktop Entry]' > /home/$MY_USERNAME/Desktop/invite.desktop
 | 
	
		
			
			| 1013 | 1013 |              echo 'Version=1.0' >> /home/$MY_USERNAME/Desktop/invite.desktop
 | 
	
	
		
			
			|  | @@ -1054,7 +1054,7 @@ else
 | 
	
		
			
			| 1054 | 1054 |      fi
 | 
	
		
			
			| 1055 | 1055 |  
 | 
	
		
			
			| 1056 | 1056 |      # If there is no ethernet then remove the invite icon
 | 
	
		
			
			| 1057 |  | -    if [[ "$ethernet_connected" == "0" ]]; then
 | 
	
		
			
			|  | 1057 | +    if [[ "\$ethernet_connected" == "0" ]]; then
 | 
	
		
			
			| 1058 | 1058 |          if [ -f /home/$MY_USERNAME/Desktop/invite.desktop ]; then
 | 
	
		
			
			| 1059 | 1059 |              rm /home/$MY_USERNAME/Desktop/invite.desktop
 | 
	
		
			
			| 1060 | 1060 |          fi
 |