260be0b7a4e9e834eda140142361e726d9eb4a30
2 # Copyright (C) 2006-2010 OpenWrt.org
4 export HOTPLUG_TYPE
="$1"
8 PATH
=/bin
:/sbin
:/usr
/bin
:/usr
/sbin
11 export PATH LOGNAME USER
12 export DEVICENAME
="${DEVPATH##*/}"
14 [ \
! -z "$1" -a -d /etc
/hotplug.d
/$1 ] && {
15 for script in $
(ls /etc
/hotplug.d
/$1/* 2>&-); do (
16 [ -f $script ] && .
$script