mirror of
https://git.yoctoproject.org/poky
synced 2026-02-23 01:49:40 +01:00
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
295 B
Executable File
295 B
Executable File
#! /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