From 7a4bc6aaf49eb55df3e19fb09260ac97023bc901 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sat, 6 Jun 2009 22:47:53 +0200 Subject: Add a new file init_functions that contains common functions used in /init and the hooks --- init_functions | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 init_functions (limited to 'init_functions') 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: $@" +} -- cgit v1.2.3-24-g4f1b