Skip to content
Snippets Groups Projects
Commit 37d26d58 authored by Bob Mottram's avatar Bob Mottram
Browse files

Kill Caja popup

parent dc2947f7
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,7 @@ function change_avahi_name {
sed -i "s|#host-name=.*|host-name=P$PEER_ID|g" /etc/avahi/avahi-daemon.conf
sed -i "s|host-name=.*|host-name=P$PEER_ID|g" /etc/avahi/avahi-daemon.conf
set_hostname P$PEER_ID
systemctl restart avahi-daemon
echo "New avahi name for this peer is P$PEER_ID"
toilet "mesh-$PEER_ID"
......@@ -676,8 +677,13 @@ if [ -f $MESH_INSTALL_SETUP ]; then
if [ ! -f $MESH_AMNESIC ]; then
rm $MESH_INSTALL_SETUP
systemctl disable mesh-setup.service
else
# kill the MATE file manager which pops up when
# encrypted drives are mounted
pkill caja
fi
mesh_restart_daemons
if [ ! -f $MESH_INSTALL_COMPLETED ]; then
echo $'Mesh node setup complete' >> $INSTALL_LOG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment