diff options
Diffstat (limited to 'nextcloud.conf')
-rw-r--r-- | nextcloud.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nextcloud.conf b/nextcloud.conf new file mode 100644 index 0000000..e4f4e0c --- /dev/null +++ b/nextcloud.conf @@ -0,0 +1 @@ +UserParameter=nextcloud[*],curl -s https://api:"$2"@cloud.your.domain/ocs/v2.php/apps/serverinfo/api/v1/info | grep "$1" | cut -d "<" -f 2 | cut -d ">" -f 2 | head -n 1
\ No newline at end of file |