summaryrefslogtreecommitdiffstats
path: root/mkinitcpio
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2011-07-03 14:11:09 +0200
committerThomas Bächler <thomas@archlinux.org>2011-07-03 14:11:09 +0200
commit179d4d5db40ec89144fbb11b0ef2e23105466890 (patch)
tree88ad0ffb4c48f422eed5661c834548aec5cac1ff /mkinitcpio
parent320ef8bdebf867f18cf475bcf46dd578c6295fd7 (diff)
parenta079f4f2b3607ae4fcfe72dba913d6589fa35f4c (diff)
downloadmkinitcpio-179d4d5db40ec89144fbb11b0ef2e23105466890.tar.gz
mkinitcpio-179d4d5db40ec89144fbb11b0ef2e23105466890.tar.xz
Merge branch 'working' of https://github.com/falconindy/mkinitcpio into working
Diffstat (limited to 'mkinitcpio')
-rwxr-xr-xmkinitcpio7
1 files changed, 2 insertions, 5 deletions
diff --git a/mkinitcpio b/mkinitcpio
index d4ebf94..289c98d 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -14,7 +14,6 @@ shopt -s extglob
# Settings
KERNELVERSION=$(uname -r)
-CARCH=$(uname -m)
FUNCTIONS=functions
CONFIG=mkinitcpio.conf
HOOKDIR=hooks
@@ -34,11 +33,9 @@ PATH=$PATH:/sbin:/usr/sbin
# GREP_OPTIONS="--color=always" will break everything
unset GREP_OPTIONS
-APPNAME=${0##*/}
-
usage() {
cat <<EOF
-usage: $APPNAME [options]
+usage: ${0##*/} [options]
Options:
-b BASEDIR Use BASEDIR. default: /
@@ -46,7 +43,7 @@ usage: $APPNAME [options]
-g IMAGE Generate a cpio image as IMAGE. default: no
-H HOOKNAME Output help for hook 'HOOKNAME'.
-h Display this message.
- -k KERNELVERSION Use KERNELVERSION. default: $(uname -r)
+ -k KERNELVERSION Use KERNELVERSION. default: $KERNELVERSION
-L List all available hooks.
-M Display modules found via autodetection.
-n Disable colorized output messages.