fstools: filter unknown action in mount.hotplug script
[openwrt/openwrt.git] / package / system / fstools / files / mount.hotplug
index 946924e351c4cfc886428fdc39a76204118cd257..550e57c71396824b3022b527012342ed7362136e 100644 (file)
@@ -1 +1 @@
-/sbin/block hotplug
+[ "$ACTION" = "add" -o "$ACTION" = "remove" ] && /sbin/block hotplug