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