Bob Mottram 9 лет назад
Родитель
Сommit
a47dbaa068
1 измененных файлов: 5 добавлений и 1 удалений
  1. 5
    1
      src/freedombone

+ 5
- 1
src/freedombone Просмотреть файл

7584
       echo ')' >> /etc/tox-bootstrapd.conf
7584
       echo ')' >> /etc/tox-bootstrapd.conf
7585
   fi
7585
   fi
7586
 
7586
 
7587
-  cp $INSTALL_DIR/toxcore/tox-bootstrapd.service /etc/systemd/system/
7587
+  if [ ! -f $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.service ]; then
7588
+      echo "File not found $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.service"
7589
+      exit 7359
7590
+  fi
7591
+  cp $INSTALL_DIR/toxcore/other/bootstrap_daemon/tox-bootstrapd.service /etc/systemd/system/
7588
   systemctl daemon-reload
7592
   systemctl daemon-reload
7589
   systemctl enable tox-bootstrapd.service
7593
   systemctl enable tox-bootstrapd.service
7590
   systemctl start tox-bootstrapd.service
7594
   systemctl start tox-bootstrapd.service