Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
2cc3ecd7
提交
2cc3ecd7
authored
3月 14, 2016
作者:
Ken Rice
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-8933 WIP few more tweaks
上级
471e4453
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
+3
-3
dialog-installer.sh
scripts/dialog-installer.sh
+3
-3
没有找到文件。
scripts/dialog-installer.sh
100644 → 100755
浏览文件 @
2cc3ecd7
...
@@ -101,7 +101,7 @@ is_private_ip() {
...
@@ -101,7 +101,7 @@ is_private_ip() {
}
}
verify_ip_fqdn
()
{
verify_ip_fqdn
()
{
DNSIP
=
`
dig +noall +answer @4.2.2.2
$FQDN
|
cut
-d
' '
-f3
`
DNSIP
=
`
dig +noall +answer @4.2.2.2
$FQDN
|
awk
'{print $5}'
`
dialog
--title
"NO DNS For this FQDN"
--clear
\
dialog
--title
"NO DNS For this FQDN"
--clear
\
--menu
"The FQDN and IP Address do not match what is available in Public DNS Servers."
15 60 5
\
--menu
"The FQDN and IP Address do not match what is available in Public DNS Servers."
15 60 5
\
...
@@ -164,7 +164,7 @@ install_certs() {
...
@@ -164,7 +164,7 @@ install_certs() {
NEED_CERTS_INSTALL
=
0
NEED_CERTS_INSTALL
=
0
else
else
echo
"Renewing LetsEncrypt Certs as they will expire in the next 30 days."
echo
"Renewing LetsEncrypt Certs as they will expire in the next 30 days."
./letsencrypt-auto renew
./letsencrypt-auto renew
--manual-public-ip-logging-ok
fi
fi
else
else
echo
"Setting up LetsEncrypt and getting you some nice new Certs for this Server."
echo
"Setting up LetsEncrypt and getting you some nice new Certs for this Server."
...
@@ -264,7 +264,7 @@ if [ "x$PRIVIP" != "x$IPADDR" ]; then
...
@@ -264,7 +264,7 @@ if [ "x$PRIVIP" != "x$IPADDR" ]; then
elif
[
$VIPFQDN
-eq
1
]
;
then
elif
[
$VIPFQDN
-eq
1
]
;
then
echo
"Skipping LetsEncrypt
\n
"
echo
"Skipping LetsEncrypt
\n
"
else
else
get_
d
letsencrypt
get_letsencrypt
install_certs
install_certs
fi
fi
else
else
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论