From 1cd4ea16580c9324efd8982ea1289bb166bfb5e9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 4 Feb 2014 15:34:00 +0100 Subject: remove firmware loading script, mdev supports it out-of-the-box now --- package/base-files/src/lib/mdev/init | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'package/base-files/src/lib') diff --git a/package/base-files/src/lib/mdev/init b/package/base-files/src/lib/mdev/init index f2b7125b8..a478abecd 100644 --- a/package/base-files/src/lib/mdev/init +++ b/package/base-files/src/lib/mdev/init @@ -1,19 +1,4 @@ #!/bin/sh -if [ "$SUBSYSTEM" == "firmware" ];then - logger "Firmware load for $FIRMWARE requested" - if [ "$ACTION" == "add" ];then - if [ -e "/lib/firmware/$FIRMWARE" ];then - logger "Firmware loading ..." - echo 1 > /sys$DEVPATH/loading - cat "/lib/firmware/$FIRMWARE" > /sys$DEVPATH/data - echo 0 > /sys$DEVPATH/loading - logger "finished." - else - logger "Firmware file $FIRMWARE not found" - echo -1 > /sys$DEVPATH/loading - fi - fi -fi if [ "$SUBSYSTEM" == "pcmcia_socket" ];then logger "Setting up PCMCIA socket resource database" if [ "$ACTION" == "add" ];then -- cgit v1.2.3