diff options
author | Rosy Song <rosysong@rosinson.com> | 2018-09-23 09:57:29 +0800 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-01-10 07:16:42 +0100 |
commit | d7275c03123fbbc318f47c37b08ad7433c639ebf (patch) | |
tree | ef45e38e164bbad3bf23d3c1856cec3c9309adf4 /package | |
parent | e0daa62af69eb3eba9750eccec8d790388878ba8 (diff) | |
download | upstream-d7275c03123fbbc318f47c37b08ad7433c639ebf.tar.gz upstream-d7275c03123fbbc318f47c37b08ad7433c639ebf.tar.bz2 upstream-d7275c03123fbbc318f47c37b08ad7433c639ebf.zip |
fstools: filter unknown action in mount.hotplug script
Signed-off-by: Rosy Song <rosysong@rosinson.com>
(cherry picked from commit 0fa1dd71ccf5456e1a55dd492e9a42d9b71185ba)
Diffstat (limited to 'package')
-rw-r--r-- | package/system/fstools/Makefile | 2 | ||||
-rw-r--r-- | package/system/fstools/files/mount.hotplug | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index 1b5bea47f0..cc02033706 100644 --- a/package/system/fstools/Makefile +++ b/package/system/fstools/Makefile @@ -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 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 |