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 506a1f9 commit 48c4fc4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
5 changes: 3 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 > /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
Expand All @@ -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"
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
5 changes: 3 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 > /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
Expand All @@ -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"
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 48c4fc4

Please sign in to comment.