瀏覽代碼

Update README.md

Ole Petter Bang 12 年之前
父節點
當前提交
c84bc550e8
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      README.md

+ 6 - 6
README.md

@@ -18,9 +18,9 @@ functions in favor of the new `proc_create()` function.
 The driver is build by running `make`, and can be tested by loading the
 built module using `insmod`:
 
-```
-make
-sudo insmod 8812au.ko
+```sh
+$ make
+$ sudo insmod 8812au.ko
 ```
 
 After loading the module, a wireless network interface named __Realtek 802.11n WLAN Adapter__ should be available.
@@ -30,9 +30,9 @@ After loading the module, a wireless network interface named __Realtek 802.11n W
 Installing the driver is simply a matter of copying the built module
 into the correct location and updating module dependencies using `depmod`:
 
-```
-sudo 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
-sudo depmod
+```sh
+$ sudo 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
+$ sudo depmod
 ```
 
 The driver module should now be loaded automatically.