summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/etc/rc.shutdown')
-rw-r--r--package/base-files/src/etc/rc.shutdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/base-files/src/etc/rc.shutdown b/package/base-files/src/etc/rc.shutdown
new file mode 100644
index 000000000..85d9e0058
--- /dev/null
+++ b/package/base-files/src/etc/rc.shutdown
@@ -0,0 +1,5 @@
+#!/bin/sh
+for i in $(grep -v ^# /etc/fstab |awk '{ print $2 }');do
+ printf Unmounting $i
+ umount $i
+done