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 | f0fa2a3de5c7c71c1506a13d690d7bdc4f0b9bb3 (patch) | |
tree | eb9d0ee771234296ea95001fb3246674372dda1c /package/base-files/files | |
parent | bef40307bb2843b303b80d82b80a0b4b89f90878 (diff) | |
download | upstream-f0fa2a3de5c7c71c1506a13d690d7bdc4f0b9bb3.tar.gz upstream-f0fa2a3de5c7c71c1506a13d690d7bdc4f0b9bb3.tar.bz2 upstream-f0fa2a3de5c7c71c1506a13d690d7bdc4f0b9bb3.zip |
unmount filesystems at shutdown
SVN-Revision: 7166
Diffstat (limited to 'package/base-files/files')
-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 +} |