1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-08 02:27:37 +03:00

nanonote-files: reflash_ben.sh: add -b -k -r to help message

This commit is contained in:
Xiangfu Liu 2011-06-02 16:26:29 +08:00
parent db4f174106
commit 35f515113d

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# version of me # version of me
__VERSION__="2011-05-22" __VERSION__="2011-06-01"
# use 'http' to download and flash images, use 'file' to flash images present in the <WORKING_DIR> # use 'http' to download and flash images, use 'file' to flash images present in the <WORKING_DIR>
PROTOCOL="http" PROTOCOL="http"
@ -52,12 +52,16 @@ do
*) *)
echo "\ echo "\
Usage: $0 [-d <version>] [-l <path to local images>] [-h] Usage: $0 [-d <version>] [-l <path to local images>] [-b] [-k] [-r] [-h]
-d <> I will download and flash a specific version of OpenWrt images -d <> I will download and flash a specific version of OpenWrt images
-l <> I will flash images present in <arg> -l <> I will flash images present in folder: <arg>
(missing files will be skipped) (missing files will be skipped)
-b flash bootloader(u-boot)
-k linux kernel
-r root filesystem
-h you already found out -h you already found out
without any arguments, I will download and flash the latest OpenWrt images without any arguments, I will download and flash the latest OpenWrt images