Update build_backend.sh

This commit is contained in:
spiritlhl 2023-06-26 10:47:25 +08:00 committed by GitHub
parent c08908c77d
commit 6cf5b579e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# from # from
# https://github.com/spiritLHLS/pve # https://github.com/spiritLHLS/pve
# 2023.06.24 # 2023.06.26
# 打印信息 # 打印信息
_red() { echo -e "\033[31m\033[01m$@\033[0m"; } _red() { echo -e "\033[31m\033[01m$@\033[0m"; }
@ -99,6 +99,6 @@ if ! lsmod | grep -q apparmor; then
modprobe apparmor modprobe apparmor
fi fi
if ! lsmod | grep -q apparmor; then if ! lsmod | grep -q apparmor; then
_yellow "AppArmor is still not loaded, please wait 1 minute, then execute reboot to reboot the system to load" _yellow "AppArmor is still not loaded, please execute reboot to reboot the system to load"
_yellow "AppArmor 仍未加载,请等待1分钟然后执行 reboot 重新启动系统加载" _yellow "AppArmor 仍未加载,请执行 reboot 重新启动系统加载"
fi fi