Skip to content

Commit

Permalink
Add log dir before trying to write to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed May 29, 2018
1 parent 4d3acf9 commit 69ac344
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/150-nems
Expand Up @@ -4,6 +4,9 @@

# System

if [[ ! -d /var/log/nems ]]; then
mkdir /var/log/nems
fi

# Disable swap - we'll be using ZRAM
sed -i '/ swap / s/^/#/' /etc/fstab
Expand Down

0 comments on commit 69ac344

Please sign in to comment.