base-files: release an attached loop device on umounting

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 33477
master
Florian Fainelli 12 years ago
parent 61e96dab3f
commit 78f4cf3d70
  1. 2
      package/base-files/Makefile
  2. 2
      package/base-files/files/etc/init.d/umount

@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/version.mk
PKG_NAME:=base-files
PKG_RELEASE:=116
PKG_RELEASE:=117
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host

@ -4,5 +4,5 @@
STOP=99
stop() {
sync
umount -a -r
umount -a -d -r
}

Loading…
Cancel
Save