remove sh from bashrc
This commit is contained in:
@@ -73,7 +73,7 @@ Defaults env_keep += PRE_NAMESPACE_PWD
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
if ! grep 'start-systemd-namespace' /etc/bash.bashrc >/dev/null; then
|
if ! grep 'start-systemd-namespace' /etc/bash.bashrc >/dev/null; then
|
||||||
$SUDO_CMD sed -i 2a"# Start or enter a PID namespace in WSL2\nsource /usr/local/bin/start-systemd-namespace.sh\n" /etc/bash.bashrc
|
$SUDO_CMD sed -i 2a"# Start or enter a PID namespace in WSL2\nsource /usr/local/bin/start-systemd-namespace\n" /etc/bash.bashrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$SUDO_CMD rm -f /etc/systemd/user/sockets.target.wants/dirmngr.socket
|
$SUDO_CMD rm -f /etc/systemd/user/sockets.target.wants/dirmngr.socket
|
||||||
|
Reference in New Issue
Block a user