rename
This commit is contained in:
parent
7fc21c2244
commit
9b7883e6bd
@ -170,7 +170,7 @@ configure_timedate() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_boot_info() {
|
configure_bootinfo() {
|
||||||
[ -d /etc/update-motd.d/disable ] && return
|
[ -d /etc/update-motd.d/disable ] && return
|
||||||
|
|
||||||
if confirm_action "要修改 启动信息 吗?" "Y"; then
|
if confirm_action "要修改 启动信息 吗?" "Y"; then
|
||||||
@ -184,7 +184,7 @@ configure_boot_info() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_user_oom_killer() {
|
configure_oomkiller() {
|
||||||
[ -f /etc/default/earlyoom ] && return
|
[ -f /etc/default/earlyoom ] && return
|
||||||
|
|
||||||
if confirm_action "要启用 earlyoom 吗?" "Y"; then
|
if confirm_action "要启用 earlyoom 吗?" "Y"; then
|
||||||
@ -217,5 +217,5 @@ configure_fail2ban
|
|||||||
configure_iptables
|
configure_iptables
|
||||||
configure_hostname
|
configure_hostname
|
||||||
configure_timedate
|
configure_timedate
|
||||||
configure_boot_info
|
configure_bootinfo
|
||||||
configure_user_oom_killer
|
configure_oomkiller
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user