diff options
Diffstat (limited to 'package')
-rwxr-xr-x | 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 c5a76a76c1..e56460de93 100755 --- a/package/base-files/files/sbin/hotplug-call +++ b/package/base-files/files/sbin/hotplug-call @@ -10,7 +10,7 @@ export HOTPLUG_TYPE="$1" echo 1 > "/sys$DEVPATH/loading" dd if="/lib/firmware/$FIRMWARE" of="/sys$DEVPATH/data" bs=64k echo 0 > "/sys$DEVPATH/loading" - } + } || echo -1 > "/sys$DEVPATH/loading" exit 0 } |