From cc289e0adb936bf350db2037544d7eb8e5b084c3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 8 Feb 2016 14:28:50 +0000 Subject: base-files: honor CONFIG_TARGET_INIT_PATH Signed-off-by: Jo-Philipp Wich SVN-Revision: 48678 --- package/base-files/files/sbin/hotplug-call | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/base-files/files/sbin') 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 -- cgit v1.2.3