X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Fsbin%2Fhotplug-call;h=28e957c3982ae070c7e8729410f45f160ea8b6a4;hb=b7a8d274435a108cf52736b4b390d42b30bf1ef5;hp=743871a3ff4b729d7e0f7903d33604dc9850fb40;hpb=2da0d3e4a8e4621a5ff67ddd4b29a8c615fc1c2f;p=openwrt.git 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