UnixTools/jffs2umount.sh

9 lines
179 B
Bash
Executable File

#!/bin/sh
# From: http://wiki.maemo.org/Modifying_the_root_image
umount /mnt/temporary
modprobe -r mtdblock
modprobe -r mtdram
modprobe -r jffs2
modprobe -r mtd
rm /tmp/mtdblock0