From d7275c03123fbbc318f47c37b08ad7433c639ebf Mon Sep 17 00:00:00 2001 From: Rosy Song Date: Sun, 23 Sep 2018 09:57:29 +0800 Subject: fstools: filter unknown action in mount.hotplug script Signed-off-by: Rosy Song (cherry picked from commit 0fa1dd71ccf5456e1a55dd492e9a42d9b71185ba) --- package/system/fstools/files/mount.hotplug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/system/fstools/files/mount.hotplug') 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 -- cgit v1.2.3