hide stderr output of mtd in firstboot
SVN-Revision: 2444
This commit is contained in:
parent
fef97f59d4
commit
ecb936a1ff
@ -17,7 +17,7 @@ jdev=$(mount | awk '/jffs2/ {print $3}')
|
|||||||
|
|
||||||
if [ -z "$jdev" ]; then
|
if [ -z "$jdev" ]; then
|
||||||
echo -n "Creating jffs2 partition... "
|
echo -n "Creating jffs2 partition... "
|
||||||
mtd erase OpenWrt >&-
|
mtd erase OpenWrt >&- 2>&-
|
||||||
mount -t jffs2 /dev/mtdblock/4 /jffs
|
mount -t jffs2 /dev/mtdblock/4 /jffs
|
||||||
echo "done"
|
echo "done"
|
||||||
cd /jffs
|
cd /jffs
|
||||||
|
Loading…
Reference in New Issue
Block a user