summaryrefslogtreecommitdiffstats
path: root/init_functions
diff options
context:
space:
mode:
Diffstat (limited to 'init_functions')
-rw-r--r--init_functions8
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: $@"
+}