Install Bt form sml2

by happyhellmen
24 deployments · 8 still active · last rev. 6 days ago

Install BaotaPanl form sml2.com

Compatible with: CentOS 7
						#!/bin/bash
# <UDF name="PanlPassWord" Label="Panl Password" />
source <ssinclude StackScriptID="1">
exec &> /root/stackscript.log

 echo "ScriptName:[$0($#)]" >> arg
 echo "arg:[${1},$*]" >> arg
 echo "PassWord:[$PassWord]" >> arg
 echo "PanlPassWord:[$PanlPassWord]" >> arg
 echo "PANLPASSWORD:[$PANLPASSWORD]" >> arg

yum install -y wget
wget -O install.sh http://api.sml2.com/linux/install_sml2_5.9.sh
sh install.sh "$PANLPASSWORD"