summaryrefslogtreecommitdiff
path: root/bin/bash_shared/includes.sh
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-10-12 20:00:52 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-10-12 20:00:52 +0200
commitf06f32849f1e2c72dc73287c73361174c07ed29e (patch)
tree70ace68e849cd5ca446fb36279f8125127bb8693 /bin/bash_shared/includes.sh
parent4df28fd29c6978e669f9950bd38e853fabf9fc8d (diff)
Directory Structure [step 1]: moving files
working on #672 NOTE: This commit can't be compiled!!
Diffstat (limited to 'bin/bash_shared/includes.sh')
-rw-r--r--bin/bash_shared/includes.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/bin/bash_shared/includes.sh b/bin/bash_shared/includes.sh
deleted file mode 100644
index 8dd3c9821c..0000000000
--- a/bin/bash_shared/includes.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-[[ ${GUARDYVAR:-} -eq 1 ]] && return || readonly GUARDYVAR=1 # include it once
-
-# force default language for applications
-LC_ALL=C
-
-AC_PATH_BIN="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
-
-AC_PATH_SHARED="$AC_PATH_BIN/bash_shared"
-
-source "$AC_PATH_SHARED/defines.sh"
-
-source "$AC_PATH_MODULES/hw-core/bash-lib-event/src/hooks.sh"
-
-
-function registerHooks() { hwc_event_register_hooks "$@"; }
-function runHooks() { hwc_event_run_hooks "$@"; }
-
-source "$AC_PATH_CONF/config.sh.dist" # "hack" to avoid missing conf variables
-
-if [ -f "$AC_PATH_CONF/config.sh" ]; then
- source "$AC_PATH_CONF/config.sh" # should overwrite previous
-else
- echo "NOTICE: file <$AC_PATH_CONF/config.sh> has not been found, you should create and configure it."
-fi
-
-#
-# Load modules
-#
-
-for entry in "$AC_PATH_MODULES/"*/include.sh
-do
- if [ -e $entry ]; then
- source $entry
- fi
-done