From 96c7339e20e78444fa4c665a9cacf857f3b34c4b Mon Sep 17 00:00:00 2001 From: pvincent Date: Sat, 2 Mar 2024 00:32:07 +0400 Subject: [PATCH] toolbox off --- lib/install.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/install.sh b/lib/install.sh index c9a7704..bfbc423 100755 --- a/lib/install.sh +++ b/lib/install.sh @@ -28,7 +28,10 @@ function prepare_lxd { sudo groupadd --force "$NEW_GROUP" sudo usermod --append --groups "$NEW_GROUP" "$(whoami)" - sg "$NEW_GROUP" -c "EMAIL=$valid_email $0 SESSION_RELOAD_REQUIRED $TARGET" + realcommand=$(realpath "$0") + echo sg "$NEW_GROUP" -c "EMAIL=$valid_email $0 SESSION_RELOAD_REQUIRED $TARGET" + echo sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET" + sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET" sg "$NEW_GROUP" -c bash kill -9 "$PPID" # no further processing because exec has been called! @@ -466,10 +469,10 @@ else sudo_required install_miaou_bash install_mandatory_commands - prepare_toolbox - add_toolbox_sudoers + # prepare_toolbox + # add_toolbox_sudoers prepare_nftables - prepare_lxd "$@" + prepare_lxd preload_bookworm_image miaou_resolver miaou_evalfrombashrc