mirror of
https://github.com/Ysurac/openmptcprouter-vps-admin.git
synced 2025-03-09 15:40:05 +00:00
Fix OMR VPS version when host is OpenMPTCProuter
This commit is contained in:
parent
37440b4a2d
commit
d6aa36cace
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ def config():
|
|||
|
||||
vps_kernel = os.popen('uname -r').read().rstrip()
|
||||
vps_machine = os.popen('uname -m').read().rstrip()
|
||||
vps_omr_version = os.popen("grep -s OpenMPTCProuter /etc/* | awk '{print $4}'").read().rstrip()
|
||||
vps_omr_version = os.popen("grep -s 'OpenMPTCProuter VPS' /etc/* | awk '{print $4}'").read().rstrip()
|
||||
vps_loadavg = os.popen("cat /proc/loadavg | awk '{print $1" "$2" "$3}'").read().rstrip()
|
||||
vps_uptime = os.popen("cat /proc/uptime | awk '{print $1}'").read().rstrip()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue