From: Mike Baker Date: Thu, 10 May 2007 10:45:04 +0000 (+0000) Subject: unmount filesystems at shutdown X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5b2f7c9b14ab01b4339739256bb70b349753b07e;p=15.05%2Fopenwrt.git unmount filesystems at shutdown git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7166 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/base-files/files/etc/init.d/umount b/package/base-files/files/etc/init.d/umount new file mode 100755 index 0000000000..a4e477e2e9 --- /dev/null +++ b/package/base-files/files/etc/init.d/umount @@ -0,0 +1,8 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +STOP=99 +stop() { + sync + umount -a -r +}