summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/bin
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-11-12 00:23:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-11-12 00:23:50 +0000
commitecb936a1ffcf72924bf09b344a8bc122ac10e218 (patch)
tree762a53c13dc1ff136431e61afa09d81a13032a4e /openwrt/package/base-files/default/bin
parentfef97f59d46b7fa6cec5814bfcc6451f43b9a56f (diff)
downloadmtk-20170518-ecb936a1ffcf72924bf09b344a8bc122ac10e218.zip
mtk-20170518-ecb936a1ffcf72924bf09b344a8bc122ac10e218.tar.gz
mtk-20170518-ecb936a1ffcf72924bf09b344a8bc122ac10e218.tar.bz2
hide stderr output of mtd in firstboot
SVN-Revision: 2444
Diffstat (limited to 'openwrt/package/base-files/default/bin')
-rwxr-xr-xopenwrt/package/base-files/default/bin/firstboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot
index 0828bda..eff7063 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