From 476a0ea4720365c4dc9d99187878321c0d63974a Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 12 Nov 2005 00:23:50 +0000 Subject: [PATCH] hide stderr output of mtd in firstboot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2444 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/base-files/default/bin/firstboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot index 0828bdabe..eff7063b1 100755 --- a/openwrt/package/base-files/default/bin/firstboot +++ b/openwrt/package/base-files/default/bin/firstboot @@ -17,7 +17,7 @@ jdev=$(mount | awk '/jffs2/ {print $3}') if [ -z "$jdev" ]; then echo -n "Creating jffs2 partition... " - mtd erase OpenWrt >&- + mtd erase OpenWrt >&- 2>&- mount -t jffs2 /dev/mtdblock/4 /jffs echo "done" cd /jffs -- 2.20.1