summaryrefslogtreecommitdiff
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2016-02-08 14:28:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2016-02-08 14:28:50 +0000
commitcc289e0adb936bf350db2037544d7eb8e5b084c3 (patch)
tree5c91d58a6b92f380989cf4a68bd38b1807e308ea /package/base-files/files/sbin
parenta8936bde1f21ce12ca85a0585eed0a2392180221 (diff)
downloadmtk-20170518-cc289e0adb936bf350db2037544d7eb8e5b084c3.zip
mtk-20170518-cc289e0adb936bf350db2037544d7eb8e5b084c3.tar.gz
mtk-20170518-cc289e0adb936bf350db2037544d7eb8e5b084c3.tar.bz2
base-files: honor CONFIG_TARGET_INIT_PATH
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48678
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/hotplug-call4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/hotplug-call b/package/base-files/files/sbin/hotplug-call
index 743871a..28e957c 100755
--- a/package/base-files/files/sbin/hotplug-call
+++ b/package/base-files/files/sbin/hotplug-call
@@ -1,11 +1,11 @@
#!/bin/sh
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2016 OpenWrt.org
export HOTPLUG_TYPE="$1"
. /lib/functions.sh
-PATH=/usr/sbin:/usr/bin:/sbin:/bin
+PATH="%PATH%"
LOGNAME=root
USER=root
export PATH LOGNAME USER