This commit is contained in:
midoks
2019-12-13 02:54:48 +08:00
parent 45c7430af3
commit a4ce338088
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -4,6 +4,10 @@ export PATH
LANG=en_US.UTF-8
is64bit=`getconf LONG_BIT`
if [ -f /etc/motd ];then
echo "Welcome to mdserver-web panel" > /etc/motd
fi
startTime=`date +%s`
_os=`uname`
+5
View File
@@ -3,6 +3,11 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
LANG=en_US.UTF-8
if [ -f /etc/motd ];then
echo "Welcome to mdserver-web panel" > /etc/motd
fi
sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/config
wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master