Ignore:
Timestamp:
Nov 14, 2023, 6:40:06 PM (12 months ago)
Author:
alloc
Message:

Scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/commands/status.sh

    r258 r483  
    5353        line "Port:" "$(getConfigValue $1 ServerPort)"
    5454        line "Public:" "$(getConfigValue $1 ServerIsPublic)"
    55         if [ "$(getConfigValue $1 ControlPanelEnabled)" = "false" ]; then
    56                 cp="off"
     55        if [ "$(getConfigValue $1 WebDashboardEnabled)" = "false" ]; then
     56                cp="disabled"
    5757        else
    58                 cp="Port $(getConfigValue $1 ControlPanelPort), Pass $(getConfigValue $1 ControlPanelPassword)"
     58                cp="$(getConfigValue $1 WebDashboardPort)"
    5959        fi
    6060        line "Control Panel:" "$cp"
     
    6262                tn="off"
    6363        else
    64                 tn="Port $(getConfigValue $1 TelnetPort), Pass $(getConfigValue $1 TelnetPassword)"
     64                tn="Port $(getConfigValue $1 TelnetPort), Pass '$(getConfigValue $1 TelnetPassword)'"
    6565        fi
    6666        line "Telnet:" "$tn"
Note: See TracChangeset for help on using the changeset viewer.