mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
hide stderr output of mtd in firstboot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2444 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7a9b5e83fd
commit
005a8a3b39
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user