mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 11:41:07 +01:00
Move usage() from vmimage.subr to mk-vmimage.sh,
in case vmimage.subr has not been sourced. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
1c34bf9552
commit
144d107fcd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=274284
@ -32,6 +32,12 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
usage() {
|
||||
echo "${0} usage:"
|
||||
echo "${@}"
|
||||
return 1
|
||||
}
|
||||
|
||||
main() {
|
||||
local arg
|
||||
while getopts "C:c:d:f:i:o:s:S:" arg; do
|
||||
|
@ -35,12 +35,6 @@ write_partition_layout() {
|
||||
return 0
|
||||
}
|
||||
|
||||
usage() {
|
||||
echo "${0} usage:"
|
||||
echo "${@}"
|
||||
return 1
|
||||
}
|
||||
|
||||
err() {
|
||||
printf "${@}\n"
|
||||
cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user