1
xmoon 2015-08-27 00:10:07 +08:00
&& echo COMMIT >> ignore.list
|
2
adrianzhang 2015-08-27 00:10:46 +08:00
加条命令 echo "COMMIT" >> /jffs/ignore.list
|
3
qq674949301 OP @xmoon 如果这样添加在后面会拖慢执行效率!
sed -e "s/^/-A ss_spec_wan_ac &/g" -e "1 i\-N ss_spec_wan_ac hash:net " /jffs/ignore.list && echo COMMIT >> /jffs/ipset.list 并且我的完整命令是这样的! sed -e "s/^/-A ss_spec_wan_ac &/g" -e "1 i\-N ss_spec_wan_ac hash:net " /jffs/ignore.list | ipset -R -! |
4
qq674949301 OP @adrianzhang
谢谢!我的完整命令是这样的,需要一整条执行下来! 并且我的完整命令是这样的! sed -e "s/^/-A ss_spec_wan_ac &/g" -e "1 i\-N ss_spec_wan_ac hash:net " /jffs/ignore.list | ipset -R -! |