Browse Source

Include username

Bob Mottram 10 years ago
parent
commit
f4193ff66d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone

+ 2
- 2
src/freedombone View File

8167
       exit 58432
8167
       exit 58432
8168
   fi
8168
   fi
8169
   make install
8169
   make install
8170
-  
8170
+
8171
   toxavahi
8171
   toxavahi
8172
 
8172
 
8173
   # publish regularly
8173
   # publish regularly
8174
   if ! grep -Fxq "toxavahi" /etc/crontab; then
8174
   if ! grep -Fxq "toxavahi" /etc/crontab; then
8175
-      echo '* *       * * *   root    toxavahi > /dev/null' >> /etc/crontab
8175
+      echo "* *       * * *   root    toxavahi $MY_USERNAME > /dev/null" >> /etc/crontab
8176
   fi
8176
   fi
8177
 
8177
 
8178
   systemctl restart avahi-daemon
8178
   systemctl restart avahi-daemon