瀏覽代碼

firmware conditions

Bob Mottram 8 年之前
父節點
當前提交
53b9be1418
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/freedombone-utils-wifi

+ 3
- 1
src/freedombone-utils-wifi 查看文件

@@ -45,8 +45,10 @@ function setup_wifi_atheros {
45 45
         if [ ! -f ~/freedombone/$atheros_drivers_file ]; then
46 46
             return
47 47
         else
48
-            atheros_drivers_file=drivers/$atheros_drivers_file
48
+            atheros_drivers_file=~/freedombone/$atheros_drivers_file
49 49
         fi
50
+    else
51
+        atheros_drivers_file=$(pwd)/$atheros_drivers_file
50 52
     fi
51 53
     if [ ! -d /lib/firmware ]; then
52 54
         mkdir /lib/firmware