openwrtv3/package/base-files/files/etc/init.d/umount
Florian Fainelli 78f4cf3d70 base-files: release an attached loop device on umounting
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 33477
2012-09-19 15:13:44 +00:00

8 lines
102 B
Bash
Executable file

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
STOP=99
stop() {
sync
umount -a -d -r
}