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 0000000000000000000000000000000000000000..a4e477e2e9b7f8bdaf9383e6eb82e3e7aabb9215
--- /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
+}