Umount jffs2

From eLinux.org
Revision as of 11:33, 16 August 2007 by G1powermac (talk | contribs)
Jump to: navigation, search
#!/bin/sh

if [ -z "$1" ]; then
	echo usage: $0 directory
	exit
fi

umount $1

rmmod mtdblock
rmmod mtdchar
rmmod mtdram
rmmod jffs2