This commit is contained in:
Mr Chen
2019-02-28 20:01:07 +08:00
parent 993d07beac
commit a6fcb2838e
4 changed files with 35 additions and 26 deletions
+2 -1
View File
@@ -20,13 +20,14 @@ Install_l2tp()
echo '1.0' > $serverPath/l2tp/version.pl
cp -rf scripts/l2tp.sh $serverPath/l2tp
chmod +x $serverPath/l2tp/l2tp.sh
if [ "Darwin" == "$SYSOS" ];then
echo 'macosx unavailable' > $install_tmp
exit 0
fi
#cp -rf $serverPath/l2tp
/bin/sh $serverPath/l2tp/l2tp.sh
echo 'install complete' > $install_tmp
}