Signed-off-by: Bastian Bittorf <[email protected]>
---
package/base-files/files/sbin/hotplug-call | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/base-files/files/sbin/hotplug-call
b/package/base-files/files/sbin/hotplug-call
index 0a7c238..440926e 100755
--- a/package/base-files/files/sbin/hotplug-call
+++ b/package/base-files/files/sbin/hotplug-call
@@ -13,6 +13,6 @@ USER=root
export PATH LOGNAME USER
export DEVICENAME="${DEVPATH##*/}"
-for script in $(ls /etc/hotplug.d/$1/* 2>&-); do (
+for script in /etc/hotplug.d/$1/* ; do (
[ -f $script ] && . $script
); done
--
1.7.2.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel