From a023b79f2dd69fec50e212b11220c26aa4c1afc4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:34:01 +0000 Subject: [PATCH] style(pre-commit): autofix --- docker/simulator-visualizer/entrypoint.sh | 5 +++-- docker/simulator-visualizer/xstartup | 2 +- docker/vnc/entrypoint.sh | 5 +++-- docker/vnc/xstartup | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docker/simulator-visualizer/entrypoint.sh b/docker/simulator-visualizer/entrypoint.sh index a4926a2da9..a67fd156c3 100644 --- a/docker/simulator-visualizer/entrypoint.sh +++ b/docker/simulator-visualizer/entrypoint.sh @@ -5,7 +5,7 @@ source "/opt/ros/$ROS_DISTRO/setup.bash" source /opt/autoware/setup.bash # Start VNC server -vncserver :1 -auth $HOME/.Xauthority -geometry 1024x768 -depth 16 > /dev/null 2>&1 +vncserver :1 -auth $HOME/.Xauthority -geometry 1024x768 -depth 16 >/dev/null 2>&1 VNC_RESULT=$? if [ $VNC_RESULT -ne 0 ]; then @@ -16,7 +16,8 @@ fi sleep 2 # Start NoVNC -websockify --web=/usr/share/novnc/ --cert=/etc/ssl/certs/novnc.crt --key=/etc/ssl/private/novnc.key 6080 localhost:5901 & > /dev/null 2>&1 +websockify --web=/usr/share/novnc/ --cert=/etc/ssl/certs/novnc.crt --key=/etc/ssl/private/novnc.key 6080 localhost:5901 & +>/dev/null 2>&1 # Print message echo -e "\033[32m-------------------------------------------------------------------------\033[0m" diff --git a/docker/simulator-visualizer/xstartup b/docker/simulator-visualizer/xstartup index 07fd3280d6..fb28abdc18 100644 --- a/docker/simulator-visualizer/xstartup +++ b/docker/simulator-visualizer/xstartup @@ -5,4 +5,4 @@ export XKL_XMODMAP_DISABLE=1 export DESKTOP_SESSION=LXDE export XDG_CURRENT_DESKTOP=LXDE startlxde & -sleep infinity \ No newline at end of file +sleep infinity diff --git a/docker/vnc/entrypoint.sh b/docker/vnc/entrypoint.sh index 84bb956959..f161ef8b4d 100644 --- a/docker/vnc/entrypoint.sh +++ b/docker/vnc/entrypoint.sh @@ -5,7 +5,7 @@ source "/opt/ros/$ROS_DISTRO/setup.bash" source /opt/autoware/setup.bash # Start VNC server -vncserver :1 -auth $HOME/.Xauthority -geometry 1024x768 -depth 16 > /dev/null 2>&1 +vncserver :1 -auth $HOME/.Xauthority -geometry 1024x768 -depth 16 >/dev/null 2>&1 VNC_RESULT=$? if [ $VNC_RESULT -ne 0 ]; then @@ -16,7 +16,8 @@ fi sleep 2 # Start NoVNC -websockify --web=/usr/share/novnc/ --cert=/etc/ssl/certs/novnc.crt --key=/etc/ssl/private/novnc.key 6080 localhost:5901 & > /dev/null 2>&1 +websockify --web=/usr/share/novnc/ --cert=/etc/ssl/certs/novnc.crt --key=/etc/ssl/private/novnc.key 6080 localhost:5901 & +>/dev/null 2>&1 # Configure ngrok ngrok config add-authtoken $NGROK_AUTH_TOKEN diff --git a/docker/vnc/xstartup b/docker/vnc/xstartup index 07fd3280d6..fb28abdc18 100644 --- a/docker/vnc/xstartup +++ b/docker/vnc/xstartup @@ -5,4 +5,4 @@ export XKL_XMODMAP_DISABLE=1 export DESKTOP_SESSION=LXDE export XDG_CURRENT_DESKTOP=LXDE startlxde & -sleep infinity \ No newline at end of file +sleep infinity