summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/umountfs
diff options
context:
space:
mode:
authorChia-I Wu <olv@openmoko.com>2008-10-28 16:49:38 +0800
committerJohn Lee <john_lee@openmoko.org>2009-01-12 14:29:03 +0800
commit321b7dc88878ff24a48065048e01957d440a81c5 (patch)
treebcc1f0efb06afb662e250a45b83585870413eb30 /packages/initscripts/initscripts-1.0/umountfs
parent0cd7f559c01c45f5fc287e533b7456fc2ba79cb9 (diff)
fastboot: initscripts-openmoko: Replacement for initscripts.
Move the common files into 'files' dir and keep Openmoko specific files under initscripts-openmoko. 'finish' was renamed to 'finish.sh', so various recipes have to be modified as well.
Diffstat (limited to 'packages/initscripts/initscripts-1.0/umountfs')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/umountfs18
1 files changed, 0 insertions, 18 deletions
diff --git a/packages/initscripts/initscripts-1.0/umountfs b/packages/initscripts/initscripts-1.0/umountfs
deleted file mode 100755
index ec75b0c4a4..0000000000
--- a/packages/initscripts/initscripts-1.0/umountfs
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /bin/sh
-#
-# umountfs Turn off swap and unmount all local filesystems.
-#
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-
-echo "Deactivating swap..."
-swapoff -a
-
-# We leave /proc mounted.
-echo "Unmounting local filesystems..."
-mount -o remount,ro /mnt/ram
-umount -f -a -r
-
-mount -o remount,ro /
-
-: exit 0