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:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index fa27fe32..1256d884 100755
--- a/update.sh
+++ b/update.sh
@@ -244,6 +244,9 @@ EOF
grep -q sleep "$F2BUNIT" || sed -i "/^ExecStart=/iExecStartPre=/bin/sleep 10" "$F2BUNIT"
grep -q sleep "$SWPUNIT" || sed -i "/\<start)/asleep 30" "$SWPUNIT"
+ # disable ncp user login
+ chsh -s /usr/sbin/nologin ncp
+
} # end - only live updates
exit 0