version 1.80, 2021/12/12 20:21:14 |
version 1.82, 2021/12/12 20:24:53 |
|
|
} |
} |
|
|
usage() { |
usage() { |
echo "usage: fw_install [-dL] [driver | file [...]]" |
echo "usage: fw_install [-DL] [driver | file [...]]" |
exit 2 |
exit 2 |
} |
} |
|
|
INSTALL=true |
INSTALL=true |
DOWNLOAD=true |
DOWNLOAD=true |
|
|
while getopts dL name |
while getopts DL name |
do |
do |
case "$name" in |
case "$name" in |
# "download only" means local dir and don't install |
# "download only" means local dir and don't install |
d) LOCALSRC=. INSTALL=false ;; |
D) LOCALSRC=. INSTALL=false ;; |
L) LOCALSRC=. ;; |
L) LOCALSRC=. ;; |
?) usage 2 ;; |
?) usage 2 ;; |
esac |
esac |