aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/fstools/files/mount.hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/fstools/files/mount.hotplug')
-rw-r--r--package/system/fstools/files/mount.hotplug2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/fstools/files/mount.hotplug b/package/system/fstools/files/mount.hotplug
index 946924e351..550e57c713 100644
--- a/package/system/fstools/files/mount.hotplug
+++ b/package/system/fstools/files/mount.hotplug
@@ -1 +1 @@
-/sbin/block hotplug
+[ "$ACTION" = "add" -o "$ACTION" = "remove" ] && /sbin/block hotplug