Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-04-22 22:57:42 +0300
committernachoparker <nacho@ownyourbits.com>2018-04-22 23:24:03 +0300
commitd8f21790e7035aee17b152dda42ab55d7127e194 (patch)
tree832699b44b8ef56ca5852b7968b7f32bf6f001ab /update.sh
parentb1475f7b05883be2850099dbc108f5a70a956f8f (diff)
nc-ramlogs: disable fix
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/update.sh b/update.sh
index a69dcde2..4500f701 100755
--- a/update.sh
+++ b/update.sh
@@ -122,12 +122,6 @@ EOF
}
[[ ! -f /.docker-image ]] && {
- # disable ramlogs if accidentally enabled
- grep -q '^ACTIVE_=yes$' "$CONFDIR"/nc-ramlogs.sh || {
- systemctl disable log2ram
- systemctl stop log2ram
- }
-
# remove directories left from unclean shutdown
UNIT=/usr/lib/systemd/system/nc-automount.service
grep -q rmdir "$UNIT" || sed -i '/^ExecStart=/iExecStartPre=/bin/bash -c "rmdir /media/* || true"' "$UNIT"