mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +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
|