Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 21, 2024
1 parent 128d547 commit c0afed8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docker/simulator-visualizer/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -pixelformat rgb565 > /dev/null 2>&1
vncserver :1 -auth $HOME/.Xauthority -geometry 1024x768 -depth 16 -pixelformat rgb565 >/dev/null 2>&1
VNC_RESULT=$?

if [ $VNC_RESULT -ne 0 ]; then
Expand All @@ -24,7 +24,7 @@ if [ -n "$NGROK_AUTHTOKEN" ]; then
ngrok config add-authtoken $NGROK_AUTHTOKEN

# Start ngrok tunnel for NoVNC
ngrok http --url=$NGROK_URL 6080 --log=stdout > ngrok.log &
ngrok http --url=$NGROK_URL 6080 --log=stdout >ngrok.log &

NOVNC_URL=https://$NGROK_URL
fi
Expand Down
2 changes: 1 addition & 1 deletion docker/simulator-visualizer/xstartup
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export XKL_XMODMAP_DISABLE=1
export DESKTOP_SESSION=LXDE
export XDG_CURRENT_DESKTOP=LXDE
startlxde &
sleep infinity
sleep infinity
4 changes: 2 additions & 2 deletions docker/vnc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -pixelformat rgb565 > /dev/null 2>&1
vncserver :1 -auth $HOME/.Xauthority -geometry 1024x768 -depth 16 -pixelformat rgb565 >/dev/null 2>&1
VNC_RESULT=$?

if [ $VNC_RESULT -ne 0 ]; then
Expand All @@ -24,7 +24,7 @@ if [ -n "$NGROK_AUTHTOKEN" ]; then
ngrok config add-authtoken $NGROK_AUTHTOKEN

# Start ngrok tunnel for NoVNC
ngrok http --url=$NGROK_URL 6080 --log=stdout > ngrok.log &
ngrok http --url=$NGROK_URL 6080 --log=stdout >ngrok.log &

NOVNC_URL=https://$NGROK_URL
fi
Expand Down
2 changes: 1 addition & 1 deletion docker/vnc/xstartup
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export XKL_XMODMAP_DISABLE=1
export DESKTOP_SESSION=LXDE
export XDG_CURRENT_DESKTOP=LXDE
startlxde &
sleep infinity
sleep infinity

0 comments on commit c0afed8

Please sign in to comment.