mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-14 17:31:35 +00:00
2018-12-31
This commit is contained in:
7
apps/kms/config/kms.uci
Normal file
7
apps/kms/config/kms.uci
Normal file
@@ -0,0 +1,7 @@
|
||||
service="Kms"
|
||||
appname="kms"
|
||||
needver="0.0.1"
|
||||
supports="linux_arm,linux_mips,linux_x86_64,darwin_x86_64"
|
||||
appinfo="快速搭建Windows、Office激活服务器"
|
||||
newinfo="Support for Windows 10 1809, Windows Server 2019 and Office 2019 built-in"
|
||||
version="0.0.2"
|
||||
19
apps/kms/config/mixbox.conf
Normal file
19
apps/kms/config/mixbox.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
#------------------【Kms】--------------------
|
||||
kms() {
|
||||
|
||||
eval `mbdb export kms`
|
||||
source /etc/mixbox/bin/base
|
||||
source /etc/mixbox/bin/base
|
||||
echo "********* $service ***********"
|
||||
echo "[${appinfo}]"
|
||||
readsh "启动${appname}服务[1/0] " "enable" "1"
|
||||
|
||||
if [ "$enable" == '1' ]; then
|
||||
readsh "请输入${appname}外网访问配置[1/0]" "openport" "1"
|
||||
${mbroot}/apps/${appname}/scripts/${appname}.sh restart
|
||||
else
|
||||
${mbroot}/apps/${appname}/scripts/${appname}.sh stop
|
||||
fi
|
||||
|
||||
}
|
||||
#------------------【Kms】--------------------
|
||||
1
apps/kms/config/version.txt
Normal file
1
apps/kms/config/version.txt
Normal file
@@ -0,0 +1 @@
|
||||
1.1.5
|
||||
Reference in New Issue
Block a user