diff options
author | Mike Baker <mbm@openwrt.org> | 2007-05-10 10:45:04 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-05-10 10:45:04 +0000 |
commit | 5b2f7c9b14ab01b4339739256bb70b349753b07e (patch) | |
tree | 41eced6fda6e052e9d16fded3f1a5477ac1a486c /package/base-files/files/etc | |
parent | d52fe054abfa451454ef87530806c2269a0389d4 (diff) | |
download | upstream-5b2f7c9b14ab01b4339739256bb70b349753b07e.tar.gz upstream-5b2f7c9b14ab01b4339739256bb70b349753b07e.tar.bz2 upstream-5b2f7c9b14ab01b4339739256bb70b349753b07e.zip |
unmount filesystems at shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7166 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-x | package/base-files/files/etc/init.d/umount | 8 |
1 files changed, 8 insertions, 0 deletions
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 +} |