diff options
| author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-07 11:57:20 +0000 |
|---|---|---|
| committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-07 11:57:20 +0000 |
| commit | 725611a466f2edf12f809d22339b22223af4afe7 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/package/base-files/default/sbin/hotplug | |
| parent | f4dd5a6d7c4ebea48cd6292744cb9def6037de80 (diff) | |
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/base-files/default/sbin/hotplug')
| -rwxr-xr-x | openwrt/package/base-files/default/sbin/hotplug | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/openwrt/package/base-files/default/sbin/hotplug b/openwrt/package/base-files/default/sbin/hotplug deleted file mode 100755 index 106299343..000000000 --- a/openwrt/package/base-files/default/sbin/hotplug +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# bypass the normal hotplug path for firmware loading -# would otherwise cause problems with drivers like bcm43xx -[ "$1" = "firmware" -a "$ACTION" = "add" ] && { - [ -f "/lib/firmware/$FIRMWARE" ] && { - echo 1 > "/sys$DEVPATH/loading" - cp "/lib/firmware/$FIRMWARE" "/sys$DEVPATH/data" - echo 0 > "/sys$DEVPATH/loading" - } - exit 0 -} - -. /etc/functions.sh -. /etc/config/network - -PATH=/bin:/sbin:/usr/bin:/usr/sbin -LOGNAME=root -USER=root -export PATH LOGNAME USER - -[ \! -z "$1" -a -d /etc/hotplug.d/$1 ] && { - for script in $(ls /etc/hotplug.d/$1/* 2>&-); do ( - [ -f $script ] && . $script - ); done -} |
