Only start tahoelafs if it's installed

This commit is contained in:
Bob Mottram 2017-10-28 14:47:47 +01:00
parent dba86a7bdc
commit 5362393942
1 changed files with 3 additions and 1 deletions

View File

@ -773,7 +773,9 @@ function mesh_client_startup_applications {
echo '' >> $START_DESKTOP
echo '' >> $START_DESKTOP
echo "if [ ! -f $FIRST_BOOT ]; then" >> $START_DESKTOP
echo " $TAHOE_COMMAND start" >> $START_DESKTOP
echo ' if [ -d /var/lib/tahoelafs ]; then' >> $START_DESKTOP
echo " $TAHOE_COMMAND start" >> $START_DESKTOP
echo ' fi' >> $START_DESKTOP
echo ' exit 0' >> $START_DESKTOP
echo 'fi' >> $START_DESKTOP
echo '' >> $START_DESKTOP