summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-04-07 09:50:15 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-04-07 09:50:15 +0000
commitf6235f6ac9324745b65063f8f214037adaf8aa82 (patch)
treec0c510e8d3e2a4f9ea88892d0ea12bb5e3ea1974 /package/base-files/files
parent3489fabdc6eeea2a276a2a1fb05b9baf4d8de275 (diff)
/lib/functions.sh: remove pi_include()
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40403 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/lib/functions.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh
index e05108c765..da5d4a0ec5 100755
--- a/package/base-files/files/lib/functions.sh
+++ b/package/base-files/files/lib/functions.sh
@@ -447,30 +447,6 @@ user_exists() {
}
-pi_include() {
- if [ -f "/tmp/overlay/$1" ]; then
- . "/tmp/overlay/$1"
- elif [ -f "$1" ]; then
- . "$1"
- elif [ -d "/tmp/overlay/$1" ]; then
- if [ -n "$(ls /tmp/overlay/$1/*.sh 2>/dev/null)" ]; then
- for src_script in /tmp/overlay/$1/*.sh; do
- . "$src_script"
- done
- fi
- elif [ -d "$1" ]; then
- if [ -n "$(ls $1/*.sh 2>/dev/null)" ]; then
- for src_script in $1/*.sh; do
- . "$src_script"
- done
- fi
- else
- echo "WARNING: $1 not found"
- return 1
- fi
- return 0
-}
-
boot_hook_splice_start() {
export -n PI_HOOK_SPLICE=1
}