浏览代码

Use bash to run the initial script to create mesh username

Bob Mottram 8 年前
父节点
当前提交
32b11987ce
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise 查看文件

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