flash-img-and-uboot.sh: add usage so I dont need to open the script to check params everytime
This commit is contained in:
parent
c8063fa7d2
commit
bac77fce45
|
@ -7,6 +7,10 @@ if [[ "${EUID}" -ne 0 ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "${1:-}" ]]; then
|
||||
echo 'USAGE: <image> <uboot> <seek> <bs> <dev>'
|
||||
fi
|
||||
|
||||
IMAGE="$1"
|
||||
UBOOT="$2"
|
||||
SEEK="$3"
|
||||
|
|
Loading…
Reference in New Issue