From 736e11255e39d7edd5df7fa11a846af129e7b1bd Mon Sep 17 00:00:00 2001 From: shenmo Date: Thu, 30 Apr 2026 23:35:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0ace-env=E4=B8=AD=E7=9A=84apts?= =?UTF-8?q?s=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=8E=BB=E6=8E=89apm=20debug?= =?UTF-8?q?=E4=B8=AD=E6=A3=80=E6=9F=A5=E5=AE=B9=E5=99=A8=E7=9A=84=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E9=81=BF=E5=85=8Dubuntu=E5=93=88=E6=B0=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/var/lib/apm/apm/files/bin/ace-run | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/var/lib/apm/apm/files/bin/ace-run b/src/var/lib/apm/apm/files/bin/ace-run index 74ab69b..72e6d49 100755 --- a/src/var/lib/apm/apm/files/bin/ace-run +++ b/src/var/lib/apm/apm/files/bin/ace-run @@ -14,14 +14,14 @@ export ACE_PACKAGE_NAME=$PKGNAME chrootEnvPath=/var/lib/apm/$PKGNAME/files/ace-env -if [ ! -e $chrootEnvPath/finish.flag ];then - -if [ "$(id -u)" = "0" ]; then - `dirname $chrootEnvPath`/bin/ace-init -else -pkexec `dirname $chrootEnvPath`/bin/ace-init -fi +# if [ ! -e $chrootEnvPath/finish.flag ];then +# if [ "$(id -u)" = "0" ]; then +# `dirname $chrootEnvPath`/bin/ace-init +# else +# pkexec `dirname $chrootEnvPath`/bin/ace-init +# fi +# Ubuntu 26.04 中断了我们配置容器 fi non_root_user=$(who | awk '{print $1}' | head -n 1)