Browse Source

unmount filesystems at shutdown

SVN-Revision: 7166
Mike Baker 19 years ago
parent
commit
f0fa2a3de5
1 changed files with 8 additions and 0 deletions
  1. 8 0
      package/base-files/files/etc/init.d/umount

+ 8 - 0
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
+}