Umount jffs2

From eLinux.org
Revision as of 10:07, 27 October 2011 by Adushistova (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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