57ee969cf7b488b2d351f601b5916f688f403092
[openwrt.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 }
This page took 0.039714 seconds and 3 git commands to generate.