Use bash to run the initial script to create mesh username

This commit is contained in:
Bob Mottram 2016-08-09 20:58:06 +01:00
parent 438dda6f17
commit 32b11987ce
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ function mesh_client_startup_applications {
echo 'Name=Set Username' >> $START_DESKTOP3 echo 'Name=Set Username' >> $START_DESKTOP3
echo 'Type=Application' >> $START_DESKTOP3 echo 'Type=Application' >> $START_DESKTOP3
echo 'Comment=Set username' >> $START_DESKTOP3 echo 'Comment=Set username' >> $START_DESKTOP3
echo "Exec=mate-terminal -e /home/${MY_USERNAME}/mesh-desktop.sh" >> $START_DESKTOP3 echo "Exec=mate-terminal -e bash -c \"/home/${MY_USERNAME}/mesh-desktop.sh\"" >> $START_DESKTOP3
echo 'Icon=user-away' >> $START_DESKTOP3 echo 'Icon=user-away' >> $START_DESKTOP3
echo 'Terminal=false' >> $START_DESKTOP3 echo 'Terminal=false' >> $START_DESKTOP3
echo 'Categories=Application;' >> $START_DESKTOP3 echo 'Categories=Application;' >> $START_DESKTOP3