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-03-04 14:55:44 +0300
committernachoparker <nacho@ownyourbits.com>2018-03-04 18:59:08 +0300
commitb346cbe89b24c6c62863cfcfd6e40078faba6098 (patch)
treea22d9b41d3774ea7e39db671e404af9dd222d514 /update.sh
parent18e35dfdbb5a828c646a6c0e24a394840123cfbf (diff)
disable ncp user loginv0.46.38
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