aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/hotplug-call
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
commit93f7ca2b58f0509fdb8a35d8c2a3c283b5d8f17d (patch)
tree574ef33e892ecedafa3d05e753592adfd73eb86c /package/base-files/files/sbin/hotplug-call
parentc351c01fd4b234c9990ad2bdab703807316a2d33 (diff)
downloadmaster-187ad058-93f7ca2b58f0509fdb8a35d8c2a3c283b5d8f17d.tar.gz
master-187ad058-93f7ca2b58f0509fdb8a35d8c2a3c283b5d8f17d.tar.bz2
master-187ad058-93f7ca2b58f0509fdb8a35d8c2a3c283b5d8f17d.zip
base-files: honor CONFIG_TARGET_INIT_PATH
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48678 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/hotplug-call')
-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 743871a3ff..28e957c398 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