diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-04-27 09:12:51 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-04-27 19:49:22 +0300 |
commit | 64bf42f2f3dd18f294d8626aaf412c90760277f0 (patch) | |
tree | 4b431bc211c34d75e5bec7ec7abee2c2b0e5c5d5 /etc/nextcloudpi-config.d/modsecurity.sh | |
parent | fb994adc457588d0361797dfe3a5f0e5a09be230 (diff) |
added show_info() to nextcloudpi-configv0.8.1
Diffstat (limited to 'etc/nextcloudpi-config.d/modsecurity.sh')
-rwxr-xr-x | etc/nextcloudpi-config.d/modsecurity.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/modsecurity.sh b/etc/nextcloudpi-config.d/modsecurity.sh index 37a1b8ea..ce53f662 100755 --- a/etc/nextcloudpi-config.d/modsecurity.sh +++ b/etc/nextcloudpi-config.d/modsecurity.sh @@ -88,6 +88,16 @@ EOF EOF } +show_info() +{ + whiptail --yesno \ + --backtitle "NextCloudPi configuration" \ + --title "Experimental feature warning" \ +"This feature is highly experimental and has only been tested with +a basic NextCloud installation. If a new App does not work disable it" \ + 20 90 +} + configure() { [[ $ACTIVE_ == "yes" ]] && local STATE=On || local STATE=Off |