mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +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
|