From: Mike Baker Date: Thu, 10 May 2007 10:45:04 +0000 (+0000) Subject: unmount filesystems at shutdown X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f0fa2a3de5c7c71c1506a13d690d7bdc4f0b9bb3;p=openwrt%2Fstaging%2Fthess.git unmount filesystems at shutdown SVN-Revision: 7166 --- 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 +}