diff --git a/package/lean/automount/Makefile b/package/lean/automount/Makefile index cf65b0c2e..3d5620419 100644 --- a/package/lean/automount/Makefile +++ b/package/lean/automount/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=automount PKG_VERSION:=1 -PKG_RELEASE:=16 +PKG_RELEASE:=18 PKG_ARCH:=all include $(INCLUDE_DIR)/package.mk @@ -28,8 +28,9 @@ define Build/Compile endef define Package/automount/install - $(INSTALL_DIR) $(1)/etc/hotplug.d/block - $(INSTALL_BIN) ./files/15-automount $(1)/etc/hotplug.d/block/15-automount + $(INSTALL_DIR) $(1)/etc/uci-defaults + $(INSTALL_BIN) ./files/15-automount $(1)/etc/15-automount + $(INSTALL_BIN) ./files/zzz-move-automount $(1)/etc/uci-defaults/zzz-move-automount endef $(eval $(call BuildPackage,automount)) diff --git a/package/lean/automount/files/zzz-move-automount b/package/lean/automount/files/zzz-move-automount new file mode 100755 index 000000000..fbe094cbd --- /dev/null +++ b/package/lean/automount/files/zzz-move-automount @@ -0,0 +1,7 @@ +#!/bin/sh + +sleep 15 +mv /etc/15-automount /etc/hotplug.d/block/ + + +