summaryrefslogtreecommitdiff
path: root/initramfs-tools.8
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2008-03-29 12:24:22 +0100
committermaximilian attems <max@stro.at>2008-03-29 12:24:22 +0100
commit701f56e007030e64f117fb3ff06ed6d394bfc86e (patch)
tree56c5b28d5589869fcb0594ca2e413055d08267e5 /initramfs-tools.8
parentd377e38823d06d8e79341fba44ce8ea9c42daff6 (diff)
downloadinitramfs-tools-701f56e007030e64f117fb3ff06ed6d394bfc86e.tar.gz
initramfs-tools-701f56e007030e64f117fb3ff06ed6d394bfc86e.zip
manpages: fix hyphen-used-as-minus-sign
properly escape minus signs to make them easily pastable.
Diffstat (limited to 'initramfs-tools.8')
-rw-r--r--initramfs-tools.810
1 files changed, 5 insertions, 5 deletions
diff --git a/initramfs-tools.8 b/initramfs-tools.8
index 3708575..317fdc8 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -387,7 +387,7 @@ esac
. /usr/share/initramfs-tools/hook-functions
# Begin real processing below this line
-if [ ! -x "/sbin/frobnicate" ]; then
+if [ ! \-x "/sbin/frobnicate" ]; then
exit 0
fi
@@ -419,11 +419,11 @@ prereqs)
esac
# Begin real processing below this line
-if [ ! -x "/sbin/frobnicate" ]; then
+if [ ! \-x "/sbin/frobnicate" ]; then
panic "Frobnication executable not found"
fi
-if [ ! -e "/dev/mapper/frobb" ]; then
+if [ ! \-e "/dev/mapper/frobb" ]; then
panic "Frobnication device not found"
fi
@@ -442,8 +442,8 @@ to double-check if it contains the relevant binaries, libs or modules:
.nf
mkdir tmp/initramfs
cd tmp/initramfs
-gunzip -c -9 /boot/initrd.img-2.6.18-1-686 | \\
-cpio -i -d -H newc --no-absolute-filenames
+gunzip \-c \-9 /boot/initrd.img\-2.6.18\-1\-686 | \\
+cpio \-i \-d \-H newc \-\-no\-absolute\-filenames
.fi
.RE