From c9b6e631f87656dc5597be3fde75e37f421b9714 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 14 Jan 2016 14:27:20 +0000 Subject: CC: base-files: sanitize and unify $PATH Previously init and hotplug paths were different from console. Signed-off-by: Steven Barth Backport of r47080 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48237 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/sbin/hotplug-call | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/sbin/hotplug-call') diff --git a/package/base-files/files/sbin/hotplug-call b/package/base-files/files/sbin/hotplug-call index 260be0b7a4..743871a3ff 100755 --- a/package/base-files/files/sbin/hotplug-call +++ b/package/base-files/files/sbin/hotplug-call @@ -5,7 +5,7 @@ export HOTPLUG_TYPE="$1" . /lib/functions.sh -PATH=/bin:/sbin:/usr/bin:/usr/sbin +PATH=/usr/sbin:/usr/bin:/sbin:/bin LOGNAME=root USER=root export PATH LOGNAME USER -- cgit v1.2.3