Browse Source

Fix bug

pull/264/head
Xavier Petit 5 years ago
parent
commit
c260b4ac55
No known key found for this signature in database
GPG Key ID: CA3F2B17E25ABD26
  1. 5
      scripts/install_client.sh

5
scripts/install_client.sh

@ -80,13 +80,14 @@ find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
find . -type f -exec /bin/sh -c "file {} | grep -q 'shell script' && chmod +x {}" \;
find . -type f -exec /bin/sh -c "file {} | grep -q 'public key' && chmod 400 {}" \;
sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules
cp --preserve=mode -RT . /
cd $SCRIPT_DIR
rm -rf /tmp/system
sed -i -e "s|::DISK::|$DISK|g" etc/udev/rules.d/10-local.rules
apt-get -y install overlayroot
echo overlayroot=\"device:dev=/dev/disk/by-partlabel/01-tmp-system,recurse=0\" >> /etc/overlayroot.conf

Loading…
Cancel
Save