From 3192ed8d6e2a4bd1299ae9d419c774586a324ffb Mon Sep 17 00:00:00 2001 From: mbm Date: Thu, 10 May 2007 10:45:04 +0000 Subject: unmount filesystems at shutdown git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7166 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/umount | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 package/base-files/files/etc/init.d/umount (limited to 'package/base-files/files') 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 000000000..a4e477e2e --- /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 +} -- cgit v1.2.3