浏览代码

Install client if needed

Bob Mottram 10 年前
父节点
当前提交
2830727a98
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      src/freedombone-mesh

+ 1
- 3
src/freedombone-mesh 查看文件

@@ -32,9 +32,7 @@ IRC_PORT=6697
32 32
 PEERS_FILE=/tmp/meshpeers.txt
33 33
 
34 34
 if [ ! -f /usr/bin/batman ]; then
35
-    echo 'Mesh networking is not configured on your system'
36
-    echo 'Run freedombone-client to install the necessary packages'
37
-    exit 1
35
+    freedombone-client
38 36
 fi
39 37
 
40 38
 if [ ! -f /tmp/meshtype ]; then