diff options
author | Erik Troan <ewt@redhat.com> | 2000-07-24 14:23:51 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-07-24 14:23:51 +0000 |
commit | 4f5d739103c75d5d646db68b2f4faaa33a39de22 (patch) | |
tree | 085a1ad2e9c69e6a3678269f6fdc4eefd0b3a68d | |
parent | 004e728d47443b0b82875b36edafab2b0f6dc7a7 (diff) | |
download | anaconda-4f5d739103c75d5d646db68b2f4faaa33a39de22.tar.gz anaconda-4f5d739103c75d5d646db68b2f4faaa33a39de22.tar.xz anaconda-4f5d739103c75d5d646db68b2f4faaa33a39de22.zip |
added usage message
-rwxr-xr-x | scripts/upd-bootimage | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/upd-bootimage b/scripts/upd-bootimage index 64b639c2b..c2909929e 100755 --- a/scripts/upd-bootimage +++ b/scripts/upd-bootimage @@ -1,5 +1,10 @@ #!/bin/bash +if [ -z "$1" ]; then + echo "$0: <image> <binary> [<initrdpath>]" + exit 1 +fi + if [ ! -f $1 ]; then echo "$1 doesn't exist" exit 1 |