From b8e558d5784c8054a91dcefd8495b739a664dbae Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 28 Nov 2007 14:47:09 -0600 Subject: Source /etc/rc.d/functions.d/ for additional initscript functions Signed-off-by: Aaron Griffin --- functions | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'functions') diff --git a/functions b/functions index 8b5ecf1..1cefa0b 100644 --- a/functions +++ b/functions @@ -142,5 +142,13 @@ ck_daemon() { return 0 } +source_functions() { + if [ -d /etc/rc.d/functions.d/ ]; then + for f in /etc/rc.d/functions.d/*; do + . $f + done + fi +} + # End of file # vim: set ts=2 noet: -- cgit v1.2.3