diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-16 21:01:38 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-06-25 12:25:45 +0200 |
commit | a80f8a25871c807af64641ef364ceea852853233 (patch) | |
tree | 625f00f3b9c476a47eb30c2e8f2dee8c1b91f180 /mkinitcpio | |
parent | 8c16b7c6f229b187bae94cc86ac8fb3df04859df (diff) | |
download | mkinitcpio-a80f8a25871c807af64641ef364ceea852853233.tar.gz mkinitcpio-a80f8a25871c807af64641ef364ceea852853233.tar.xz |
remove support for -m to add a startup message
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'mkinitcpio')
-rwxr-xr-x | mkinitcpio | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -13,7 +13,6 @@ shopt -s extglob # Settings -MESSAGEFILE=$TMPDIR/message KERNELVERSION=$(uname -r) FUNCTIONS=functions CONFIG=mkinitcpio.conf @@ -22,7 +21,7 @@ INSTDIR=install PRESETDIR=mkinitcpio.d COMPRESSION=gzip -declare TMPDIR BASEDIR MODULE_FILE GENIMG PRESET MESSAGE COMPRESSION_OPTIONS BUILDROOT +declare TMPDIR BASEDIR MODULE_FILE GENIMG PRESET COMPRESSION_OPTIONS BUILDROOT declare NC= BOLD= BLUE= GREEN= RED= YELLOW= declare -i QUIET=1 SHOW_AUTOMODS=0 SAVELIST=0 COLOR=1 declare -a SKIPHOOKS ADDED_MODULES @@ -50,7 +49,6 @@ usage: $APPNAME [options] -L List all available hooks. -M Display modules found via autodetection. -n Disable colorized output messages. - -m MESSAGE Print MESSAGE before passing control to init. -p PRESET Build specified preset from /etc/mkinitcpio.d -S SKIPHOOKS Skip SKIPHOOKS (comma-separated) when building the image. -s Save build directory. default: no @@ -109,7 +107,6 @@ while getopts ':c:k:sb:g:p:m:nvH:LMhS:t:' arg; do b) BASEDIR="${OPTARG}" ;; g) GENIMG="${OPTARG}" ;; p) PRESET="${OPTARG}" ;; - m) MESSAGE="${OPTARG}" ;; n) COLOR=0 ;; v) QUIET=0 ;; S) OLDIFS=${IFS} @@ -177,7 +174,6 @@ if [[ $PRESET ]]; then # Use -b, -m and -v options specified earlier declare -a preset_mkopts preset_cmd [[ $BASEDIR ]] && preset_mkopts+=(-b "$BASEDIR") - [[ $MESSAGE ]] && preset_mkopts+=(-m "$MESSAGE") (( QUIET )) || preset_mkopts+=(-v) # Build all images . "$PRESETDIR/$PRESET.preset" |