Closed GoogleCodeExporter closed 9 years ago
感谢你的分享,ipk文件我会在合适的时候加入到wiki中
pvpn中的bug可能和你的grep特性有关,想了解下修改了代码后拨
号成功接口名是什么?pvpn0 还是pvpn1?
另外希望能在dreambox的shell做如下测试:
{{{
echo -n "aaa" >/tmp/test.txt
echo -e "aaa\nbbb\nccc"|grep -v -f /tmp/test.txt
echo -n "" >/tmp/test.txt
echo -e "aaa\nbbb\nccc"|grep -v -f /tmp/test.txt
}}}
正常输出结果为:
{{{
bbb
ccc
aaa
bbb
ccc
}}}
如果出错请给出详细信息,谢谢
Original comment by autovpn2014
on 7 Mar 2014 at 3:14
我自己修改以后,拨号成接口名称一直是 pvpn1
如你所说,确实是grep的问题。
附上grep的测试结果
最后,由衷感谢楼主无私的共享。
翻越防火长城,你可以到达世界上的每一个角落。(Across the
Great Firewall, you can reach every corner in the world.)
Original comment by c...@3e.vc
on 7 Mar 2014 at 3:23
Attachments:
看来比较老的busybox 的grep不支持空文件,我会尽快修复问题
Original comment by autovpn2014
on 7 Mar 2014 at 3:29
Original comment by autovpn2014
on 8 Mar 2014 at 1:46
Original issue reported on code.google.com by
c...@3e.vc
on 7 Mar 2014 at 2:35Attachments: