projects
/
openwrt-10.03
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add hotplug stuff to trunk/
[openwrt-10.03/.git]
/
package
/
base-files
/
default
/
sbin
/
hotplug
1
#!/bin/sh
2
PATH=/bin:/sbin:/usr/bin:/usr/sbin
3
LOGNAME=root
4
USER=root
5
export PATH LOGNAME USER
6
7
[ \! -z "$1" -a -d /etc/hotplug.d/$1 ] && {
8
for script in $(ls /etc/hotplug.d/$1/* 2>&-); do (
9
[ -f $script ] && . $script
10
); done
11
}