aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-09-19 15:13:44 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-09-19 15:13:44 +0000
commit78f4cf3d70f7646e182fc98ba65b4d9ede0240d3 (patch)
treef70367e93a85696e423fb7f4318ed72d6cf584c3 /package/base-files
parent61e96dab3fa9f0aeaf635df10ee1fd245e3c130b (diff)
downloadupstream-78f4cf3d70f7646e182fc98ba65b4d9ede0240d3.tar.gz
upstream-78f4cf3d70f7646e182fc98ba65b4d9ede0240d3.tar.bz2
upstream-78f4cf3d70f7646e182fc98ba65b4d9ede0240d3.zip
base-files: release an attached loop device on umounting
Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 33477
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/files/etc/init.d/umount2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 13927528c0..1d56e9fc78 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -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
diff --git a/package/base-files/files/etc/init.d/umount b/package/base-files/files/etc/init.d/umount
index a4e477e2e9..5a750b93c6 100755
--- a/package/base-files/files/etc/init.d/umount
+++ b/package/base-files/files/etc/init.d/umount
@@ -4,5 +4,5 @@
STOP=99
stop() {
sync
- umount -a -r
+ umount -a -d -r
}