hide stderr output of mtd in firstboot
authorFelix Fietkau <nbd@openwrt.org>
Sat, 12 Nov 2005 00:23:50 +0000 (00:23 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 12 Nov 2005 00:23:50 +0000 (00:23 +0000)
SVN-Revision: 2444

openwrt/package/base-files/default/bin/firstboot

index 0828bdabe9207f58e9d9f9f7c7cdfc0b6662c046..eff7063b1c136e55a2dd5274c9aabbd7ec321881 100755 (executable)
@@ -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