Skip to content

Commit

Permalink
added nc-info
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Nov 19, 2017
1 parent d1e529e commit de4e0c7
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

[v0.36.1](https://github.com/nextcloud/nextcloudpi/commit/2685b0c) (2017-11-18) update: fix return value
[v0.37.0 ](https://github.com/nextcloud/nextcloudpi/commit/fd5f04e) (2017-11-19) added nc-info

[v0.36.2 ](https://github.com/nextcloud/nextcloudpi/commit/52ada6a) (2017-11-19) nc-diag: small fixes

[v0.36.1, master](https://github.com/nextcloud/nextcloudpi/commit/eadfd72) (2017-11-18) update: fix return value

[v0.36.0 ](https://github.com/nextcloud/nextcloudpi/commit/43813d6) (2017-11-18) added ncp-diag and ncp-report

Expand Down
41 changes: 41 additions & 0 deletions etc/nextcloudpi-config.d/nc-info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash

# Print NCP sytem info
#
# Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com>
# GPL licensed (see end of file) * Use at your own risk!
#
# Usage:
#
# ./installer.sh nc-diag.sh <IP> (<img>)
#
# See installer.sh instructions for details
# More at: https://ownyourbits.com
#

DESCRIPTION="Print NextCloudPi system info"

configure()
{
ncp-diag | column -t -s'|'
}

install() { :; }

# License
#
# This script is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This script is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this script; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA

0 comments on commit de4e0c7

Please sign in to comment.