summaryrefslogtreecommitdiff
path: root/setup-bootable.in
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-02 22:28:23 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-02 23:12:27 +0100
commit281cbbd6cd8ecfc3d5c1a365ae01f2e49ad25f24 (patch)
tree9bf3e352b97c7d3742c94b31d7d2e6886dc001b1 /setup-bootable.in
parent07c02f672a5708e4dcd9ed9aa3935840916f4c6e (diff)
downloadalpine-conf-281cbbd6cd8ecfc3d5c1a365ae01f2e49ad25f24.zip
indent heredocs and replace echos with heredoc where appropriate
Diffstat (limited to 'setup-bootable.in')
-rw-r--r--setup-bootable.in34
1 files changed, 17 insertions, 17 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index b2c6796..4a83f5a 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -161,28 +161,28 @@ check_syslinux() {
}
usage() {
- cat <<__EOF__
-$prog $version
-usage: $prog [-fhUusv] SOURCE [DEST]
- $prog -c DIR
+ cat <<-__EOF__
+ $prog $version
+ usage: $prog [-fhUusv] SOURCE [DEST]
+ $prog -c DIR
-Copy the contents of SOURCE to DEST and make DEST bootable.
+ Copy the contents of SOURCE to DEST and make DEST bootable.
-SOURCE can be a directory or a ISO image. DEST can be a mounted directory
-or a device. If DEST is ommitted /media/usb will be used.
+ SOURCE can be a directory or a ISO image. DEST can be a mounted directory
+ or a device. If DEST is ommitted /media/usb will be used.
-Options:
- -f Force overwrite existing files. Will overwrite syslinux.cfg if upgrade.
- -h Show this help.
- -k fix kernel and initrd name in syslinux.cfg if needed.
- -U Replace current alpine_dev in syslinux.cfg with UUID if UUID found.
- -u Upgrade mode. Keep existing syslinux.cfg and don't run syslinux.
- -s Force run syslinux, even if upgrade mode.
- -v Verbose mode. Display whats going on.
+ Options:
+ -f Force overwrite existing files. Will overwrite syslinux.cfg if upgrade.
+ -h Show this help.
+ -k fix kernel and initrd name in syslinux.cfg if needed.
+ -U Replace current alpine_dev in syslinux.cfg with UUID if UUID found.
+ -u Upgrade mode. Keep existing syslinux.cfg and don't run syslinux.
+ -s Force run syslinux, even if upgrade mode.
+ -v Verbose mode. Display whats going on.
- -c Check syslinux.cfg in destination DIR. Use with -f to fix.
+ -c Check syslinux.cfg in destination DIR. Use with -f to fix.
-__EOF__
+ __EOF__
exit 1
}