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-12-01 22:35:09 +0300
committernachoparker <nacho@ownyourbits.com>2018-12-02 00:57:25 +0300
commit845cff1475c9d1dbab01bc95341206870dce5474 (patch)
treee4dbcc40de4d5ffad8db4bd6da6cb1b107442c8e
parentd6a7f5c8165ad709abd593c42054b45bcfc7d130 (diff)
build: armbian fixes
-rw-r--r--etc/ncp-config.d/nc-ramlogs.sh1
-rw-r--r--lamp.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/ncp-config.d/nc-ramlogs.sh b/etc/ncp-config.d/nc-ramlogs.sh
index 35199051..5e01d158 100644
--- a/etc/ncp-config.d/nc-ramlogs.sh
+++ b/etc/ncp-config.d/nc-ramlogs.sh
@@ -22,6 +22,7 @@ is_active()
install()
{
[[ -d /var/log.hdd ]] || [[ -d /var/hdd.log ]] && { echo "log2ram detected, not installing"; return; }
+ cd /tmp
curl -Lo log2ram.tar.gz https://github.com/azlux/log2ram/archive/master.tar.gz
tar xf log2ram.tar.gz
cd log2ram-master
diff --git a/lamp.sh b/lamp.sh
index d384cc6a..211271f9 100644
--- a/lamp.sh
+++ b/lamp.sh
@@ -143,7 +143,8 @@ EOF
sleep 0.5
done
- mysql_secure_installation <<EOF
+ cd /tmp
+ mysql_secure_installation <<EOF
$DBPASSWD
y
$DBPASSWD