aboutsummaryrefslogtreecommitdiff
path: root/pxeflatten
diff options
context:
space:
mode:
Diffstat (limited to 'pxeflatten')
-rwxr-xr-xpxeflatten5
1 files changed, 4 insertions, 1 deletions
diff --git a/pxeflatten b/pxeflatten
index 78a5c84..225047b 100755
--- a/pxeflatten
+++ b/pxeflatten
@@ -1,6 +1,8 @@
#! /usr/bin/env bash
# Flatten a multi-line PXELINUX config file ignoring comments/blank lines.
+# Can also be used for GRUB config files (note that GRUB rewrites x="y" as
+# "x=y").
#
# The text that appears after the 'append' clause in PXELINUX config files
# must all be on a single line. There is no support even for line
@@ -8,7 +10,8 @@
#
# To help with this situation, this script will take a milti-line file (or
# stdin if none is specified) and write flattened, single line output into
-# stdout ignoring #-comments and blank lines while at it.
+# stdout ignoring #-comments and blank lines while at it. Note that this
+# script prints a leading space.
#
# If you have prepared your PXELINUX config file so that the 'append' clause
# is the last line without a trailing newline (and without a trailing space),