Browse Source

fix permissions

tags/v1.2
Nico Rey 4 years ago
parent
commit
c958929f88
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      install.sh

+ 2
- 2
install.sh View File

@@ -181,6 +181,7 @@ fi
log_done "Nginx configured" log_done "Nginx configured"


### Setup ramFS ### Setup ramFS
set +e
cat /etc/fstab | grep -q "ramfs" cat /etc/fstab | grep -q "ramfs"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
log_done "ramfs already setup" log_done "ramfs already setup"
@@ -189,10 +190,9 @@ else
cat templates/fstab | sudo tee -a /etc/fstab > /dev/null cat templates/fstab | sudo tee -a /etc/fstab > /dev/null
log_done "Ramfs installed" log_done "Ramfs installed"
fi fi
set +e
sudo mount -a sudo mount -a
set -e
sudo chmod 777 /var/ramfs sudo chmod 777 /var/ramfs
set -e


success "Install (almost) done!" success "Install (almost) done!"
echo " echo "


Loading…
Cancel
Save