without sh

This commit is contained in:
2023-07-11 09:14:09 +00:00
parent f527d29f52
commit b352256b9f

View File

@@ -657,7 +657,6 @@ if [ -n "$WSL_DISTRO_NAME" ]; then
# Run installer tool # Run installer tool
$SUDO_CMD docker run \ $SUDO_CMD docker run \
--env WSL_DISTRO_NAME=$WSL_DISTRO_NAME \ --env WSL_DISTRO_NAME=$WSL_DISTRO_NAME \
--env SUDO_CMD=$SUDO_CMD \
--volume $HOME/.ssh/installer:/root/.ssh/id_rsa \ --volume $HOME/.ssh/installer:/root/.ssh/id_rsa \
--volume /etc/user/:/etc/user/ \ --volume /etc/user/:/etc/user/ \
--volume /etc/system/:/etc/system/ \ --volume /etc/system/:/etc/system/ \
@@ -665,8 +664,7 @@ if [ -n "$WSL_DISTRO_NAME" ]; then
registry.format.hu/installer-tool registry.format.hu/installer-tool
fi; fi;
sh /usr/local/bin/wsl2-systemd-script.sh /usr/local/bin/wsl2-systemd-script.sh
#systemctl
fi; fi;
shopt -s expand_aliases shopt -s expand_aliases