From: Felix Fietkau Date: Sat, 12 Nov 2005 00:23:50 +0000 (+0000) Subject: hide stderr output of mtd in firstboot X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=005a8a3b397cd23609fc72db3310aacebc010d96;p=15.05%2Fopenwrt.git hide stderr output of mtd in firstboot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2444 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot index 0828bdabe9..eff7063b1c 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