Update 'install.sh'
This commit is contained in:
@@ -456,7 +456,7 @@ if [ ! -f /etc/wsl.conf ]; then
|
|||||||
$SUDO_CMD touch /etc/wsl.conf;
|
$SUDO_CMD touch /etc/wsl.conf;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SYSTEM_SETTINGS=$(grep -Pzow '\[boot\]\nsystemd\=true' /etc/wsl.conf 2> /dev/null);
|
SYSTEM_SETTINGS="$(grep -Pzow '\[boot\]\nsystemd\=true' /etc/wsl.conf 2> /dev/null)";
|
||||||
if [ "$SYSTEM_SETTINGS" == "" ]; then
|
if [ "$SYSTEM_SETTINGS" == "" ]; then
|
||||||
echo "[boot]
|
echo "[boot]
|
||||||
systemd=true" | $SUDO_CMD tee /etc/wsl.conf;
|
systemd=true" | $SUDO_CMD tee /etc/wsl.conf;
|
||||||
|
Reference in New Issue
Block a user