mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
9 lines
203 B
Plaintext
9 lines
203 B
Plaintext
|
[ -n "$DISK_MEDIA_CHANGE" ] && /sbin/block info
|
||
|
|
||
|
if [ "$ACTION" = "add" -a "$DEVTYPE" = "disk" ]; then
|
||
|
case "$DEVNAME" in
|
||
|
mtd*) : ;;
|
||
|
*) echo 2000 > /sys/block/$DEVNAME/events_poll_msecs ;;
|
||
|
esac
|
||
|
fi
|