fstools: filter unknown action in mount.hotplug script
authorRosy Song <rosysong@rosinson.com>
Sun, 23 Sep 2018 01:57:29 +0000 (09:57 +0800)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 7 Oct 2018 19:34:13 +0000 (21:34 +0200)
Signed-off-by: Rosy Song <rosysong@rosinson.com>
package/system/fstools/Makefile
package/system/fstools/files/mount.hotplug

index 2813af0182ddd12629bf4d78df203361345f7b03..18ea31c8c9e7ad694f0a064c1478584b70e0488b 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=fstools
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=$(PROJECT_GIT)/project/fstools.git
index 946924e351c4cfc886428fdc39a76204118cd257..550e57c71396824b3022b527012342ed7362136e 100644 (file)
@@ -1 +1 @@
-/sbin/block hotplug
+[ "$ACTION" = "add" -o "$ACTION" = "remove" ] && /sbin/block hotplug