Changeset 483 for scripts/usr/local/lib/7dtd/commands/status.sh
- Timestamp:
- Nov 14, 2023, 6:40:06 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/status.sh
r258 r483 53 53 line "Port:" "$(getConfigValue $1 ServerPort)" 54 54 line "Public:" "$(getConfigValue $1 ServerIsPublic)" 55 if [ "$(getConfigValue $1 ControlPanelEnabled)" = "false" ]; then56 cp=" off"55 if [ "$(getConfigValue $1 WebDashboardEnabled)" = "false" ]; then 56 cp="disabled" 57 57 else 58 cp=" Port $(getConfigValue $1 ControlPanelPort), Pass $(getConfigValue $1 ControlPanelPassword)"58 cp="$(getConfigValue $1 WebDashboardPort)" 59 59 fi 60 60 line "Control Panel:" "$cp" … … 62 62 tn="off" 63 63 else 64 tn="Port $(getConfigValue $1 TelnetPort), Pass $(getConfigValue $1 TelnetPassword)"64 tn="Port $(getConfigValue $1 TelnetPort), Pass '$(getConfigValue $1 TelnetPassword)'" 65 65 fi 66 66 line "Telnet:" "$tn"
Note:
See TracChangeset
for help on using the changeset viewer.