diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-06-06 22:47:53 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-06-06 22:47:53 +0200 |
commit | 7a4bc6aaf49eb55df3e19fb09260ac97023bc901 (patch) | |
tree | 8a878036f12c0966ac839e6815c587914d674c0d /init_functions | |
parent | 35fea002c27f6c1124a28535e379d7edf34a127e (diff) | |
download | mkinitcpio-7a4bc6aaf49eb55df3e19fb09260ac97023bc901.tar.gz mkinitcpio-7a4bc6aaf49eb55df3e19fb09260ac97023bc901.tar.xz |
Add a new file init_functions that contains common functions used in /init and the hooks
Diffstat (limited to 'init_functions')
-rw-r--r-- | init_functions | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init_functions b/init_functions new file mode 100644 index 0000000..50accc9 --- /dev/null +++ b/init_functions @@ -0,0 +1,8 @@ +# This file contains common functions used in init and in hooks + +msg () { + [ "${quiet}" != "y" ] && echo $@ +} +err () { + echo "ERROR: $@" +} |