Skip to content

Commit b64859e

Browse files
ovpcnachoparker
authored andcommitted
add architecture and kernel info to ncp-info (#1360)
1 parent f3fda8f commit b64859e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

bin/ncp-diag

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ source /usr/local/etc/library.sh
1616
# Distro, NCP version and tag
1717
echo "NextCloudPi version|$( cat /usr/local/etc/ncp-version )"
1818
[[ -f /usr/local/etc/ncp-baseimage ]] && echo "NextCloudPi image|$( cat /usr/local/etc/ncp-baseimage )"
19-
echo "distribution|$( cat /etc/issue )"
19+
echo "OS|$(cat /etc/issue | sed 's| \\n \\l||'). $(uname -r) ($(uname -m))"
2020

2121
# Data
2222
DATADIR="$( grep datadirectory /var/www/nextcloud/config/config.php |
@@ -104,6 +104,7 @@ echo "NAT loopback|$( [[ "$RESOLV" == "$IP" ]] && echo yes || echo no )"
104104

105105
# Other
106106
echo "uptime|$( uptime | cut -f1 -d',' | awk '{ $1=""; $2=""; print }' | tr -d " " )"
107+
# Get kernel version
107108

108109
# License
109110
#

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11

2+
<<<<<<< HEAD
23
[v1.40.5](https://github.com/nextcloud/nextcloudpi/commit/6c3cb37) (2021-10-11) letsencrypt: keep original cert name
34

45
[v1.40.4 ](https://github.com/nextcloud/nextcloudpi/commit/de104a5) (2021-10-06) Make templating safer and more verbose (#1343)
6+
=======
7+
[v1.40.5](https://github.com/nextcloud/nextcloudpi/commit/f7c393f) (2021-10-11) add architecture and kernel info to ncp-info (#1360)
8+
9+
[v1.40.4](https://github.com/nextcloud/nextcloudpi/commit/de104a5) (2021-10-06) Make templating safer and more verbose (#1343)
10+
>>>>>>> b532589 (add architecture and kernel info to ncp-info (#1360))
511
612
[v1.40.3 ](https://github.com/nextcloud/nextcloudpi/commit/8a6c1c0) (2021-10-06) ncp-check-nc-version: dont notify the same version more than once
713

0 commit comments

Comments
 (0)