-echo "=================================================================="
-echo " Ventoy Server $vtVer is running at http://${HOST}:${PORT} ..."
-echo "=================================================================="
-echo ""
-echo "################ Press Ctrl + C to exit ######################"
-echo ""
-
-if [ "$NOWEB" = "1" ]; then
- echo "Please open your web browser and visit http://${HOST}:${PORT}"
-else
- if which -a google-chrome-stable >> $LOGFILE 2>&1; then
- chromium_proc google-chrome-stable
- elif which -a google-chrome >> $LOGFILE 2>&1; then
- chromium_proc google-chrome
- elif which -a chrome >> $LOGFILE 2>&1; then
- chromium_proc chrome
- elif which -a browser >> $LOGFILE 2>&1; then
- chromium_proc browser
- elif which -a firefox >> $LOGFILE 2>&1; then
- su $VUSER -c "firefox --no-remote \"http://${HOST}:${PORT}/index.html\""
- else
- echo "Please open your web browser and visit http://${HOST}:${PORT}"
- fi
-fi
-
-if ps -ef | grep "V2DServer.*$HOST.*$PORT" | grep -q -v grep; then
- echo ""
+echo "==============================================================="
+if [ "$LANG" = "zh_CN.UTF-8" ]; then
+ echo " Ventoy Server $vtVer ÒѾÆô¶¯ ..."
+ echo " Çë´ò¿ªä¯ÀÀÆ÷£¬·ÃÎÊ http://${HOST}:${PORT}"