代码拉取完成,页面将自动刷新
#!/bin/sh
echo "begin install k2 17ce"
if [ $# == 1 ]; then
echo "17CE user name -->$1"
echo "if the user name is error ,ctrl +c exit"
sleep 3
else
echo "please use the cmd-->"
echo " ./install.sh xxx@xxx.com"
exit 1
fi
echo
echo
echo "By Dandan!"
echo "mjyhj update!And use myself!"
rm -rf /etc/storage/17ce
rm -rf /tmp/17ce
rm -rf 17ce*
cd /tmp
wget -O 17ce_padavan.sh http://git.oschina.net/mjyhj/K2_17ce/raw/master/17ce_padavan.sh
chmod +x /tmp/17ce_padavan.sh
mkdir /etc/storage/17ce
cp install_padavan.sh /etc/storage/17ce/install_padavan.sh
chmod +x /etc/storage/17ce/install_padavan.sh
if grep -wq "install_padavan.sh" /etc/storage/post_wan_script.sh; then
/tmp/17ce_padavan.sh yiqice@qq.com
else
echo "/etc/storage/17ce/install_padavan.sh yiqice@qq.com">>/etc/storage/post_wan_script.sh
/tmp/17ce_padavan.sh yiqice@qq.com
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。