diff options
| author | Rosy Song | 2018-09-23 01:57:29 +0000 |
|---|---|---|
| committer | Hans Dedecker | 2018-10-07 19:34:13 +0000 |
| commit | 0fa1dd71ccf5456e1a55dd492e9a42d9b71185ba (patch) | |
| tree | 13f5660c3755af824c7e964fe0924e8b4c45d0a1 | |
| parent | ec9576607d19ddda04334142bdd7feef8cb5c5ca (diff) | |
| download | openwrt-0fa1dd71ccf5456e1a55dd492e9a42d9b71185ba.tar.gz | |
fstools: filter unknown action in mount.hotplug script
Signed-off-by: Rosy Song <rosysong@rosinson.com>
| -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 2813af0182..18ea31c8c9 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 |