From 181eaa5d96a9cae22748d092594f9313a513f075 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 30 May 2016 14:36:02 +0100 Subject: [PATCH] Change toxcore daemon --- src/freedombone-image-customise | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 8aab04ba..9f4aebb2 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -644,6 +644,7 @@ function mesh_tox_node { echo 'make install' >> $TEMP_SCRIPT echo 'cp /usr/local/lib/libtoxcore* /usr/lib/' >> $TEMP_SCRIPT echo "cp $INSTALL_DIR/other/bootstrap_daemon/tox-bootstrapd.service /etc/systemd/system/" >> $TEMP_SCRIPT + echo "sed -i 's|ExecStart=.*|ExecStart=/usr/local/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf|g' /etc/systemd/system/tox-bootstrapd.service" >> $TEMP_SCRIPT echo 'exit 0' >> $TEMP_SCRIPT chmod +x $TEMP_SCRIPT cp $TEMP_SCRIPT $rootdir/root/ @@ -715,8 +716,6 @@ function mesh_tox_node { echo ')' >> $TOX_BOOTSTRAP_CONFIG fi - chroot "$rootdir" sed -i 's|ExecStart=.*|ExecStart=/usr/local/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf|g' /etc/systemd/system/tox-bootstrapd.service - chroot "$rootdir" systemctl daemon-reload chroot "$rootdir" systemctl enable tox-bootstrapd.service }