]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/initscripts/initscripts-1.0/umountfs
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / initscripts / initscripts-1.0 / umountfs
1 #! /bin/sh
2 #
3 # umountfs      Turn off swap and unmount all local filesystems.
4 #
5
6 PATH=/sbin:/bin:/usr/sbin:/usr/bin
7
8 echo "Deactivating swap..."
9 swapoff -a
10
11 # We leave /proc mounted.
12 echo "Unmounting local filesystems..."
13 mount -o remount,ro /mnt/ram
14 umount -f -a -r
15
16 mount -o remount,ro /
17
18 : exit 0