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 c05e22e5..7f23a0f4 100755
--- a/update.sh
+++ b/update.sh
@@ -114,6 +114,9 @@ cat $LATEST > $NOTIFIED
EOF
chmod +x /usr/local/bin/ncp-notify-update
+# fix permissions for ncp-web: shutdown button
+sed -i 's|www-data.*|www-data ALL = NOPASSWD: /home/www/ncp-launcher.sh , /sbin/halt|' /etc/sudoers
+
# License
#
# This script is free software; you can redistribute it and/or modify it