|
@@ -7,7 +7,7 @@
|
|
# protect ourselves against the most common way or
|
|
# protect ourselves against the most common way or
|
|
# calling vbladed: without arguments. While at it, we guard
|
|
# calling vbladed: without arguments. While at it, we guard
|
|
# ourselves against wrong number of parameters.
|
|
# ourselves against wrong number of parameters.
|
|
-if [ $# -ne 4 ]
|
|
|
|
|
|
+if [ $# -lt 4 ]
|
|
then
|
|
then
|
|
echo "usage: ./vblade <shelf> <slot> <ethn> <device>" >&2
|
|
echo "usage: ./vblade <shelf> <slot> <ethn> <device>" >&2
|
|
exit 1
|
|
exit 1
|