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/nc-ramlogs.sh | |
parent | fb994adc457588d0361797dfe3a5f0e5a09be230 (diff) |
added show_info() to nextcloudpi-configv0.8.1
Diffstat (limited to 'etc/nextcloudpi-config.d/nc-ramlogs.sh')
-rwxr-xr-x | etc/nextcloudpi-config.d/nc-ramlogs.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/nc-ramlogs.sh b/etc/nextcloudpi-config.d/nc-ramlogs.sh index 3e75286f..dc8b8ccc 100755 --- a/etc/nextcloudpi-config.d/nc-ramlogs.sh +++ b/etc/nextcloudpi-config.d/nc-ramlogs.sh @@ -18,6 +18,16 @@ ACTIVE_=no DESCRIPTION="mount logs in RAM to prevent SD card degradation (faster, consumes more RAM)" +show_info() +{ + whiptail --yesno \ + --backtitle "NextCloudPi configuration" \ + --title "Warning" \ +"If you are installing software other than NextCloud +that creates folders under '/var/log/' disable this feature" \ + 20 90 +} + configure() { [[ $ACTIVE_ != "yes" ]] && { |