diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-12-01 22:35:09 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-12-02 00:57:25 +0300 |
commit | 845cff1475c9d1dbab01bc95341206870dce5474 (patch) | |
tree | e4dbcc40de4d5ffad8db4bd6da6cb1b107442c8e | |
parent | d6a7f5c8165ad709abd593c42054b45bcfc7d130 (diff) |
build: armbian fixes
-rw-r--r-- | etc/ncp-config.d/nc-ramlogs.sh | 1 | ||||
-rw-r--r-- | lamp.sh | 3 |
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 @@ -143,7 +143,8 @@ EOF sleep 0.5 done - mysql_secure_installation <<EOF + cd /tmp + mysql_secure_installation <<EOF $DBPASSWD y $DBPASSWD |