turn persistence off by default

This commit is contained in:
t3chn0m4g3 2016-03-03 17:48:04 +01:00
parent ed797cf62d
commit a7f98902e3
2 changed files with 4 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

View file

@ -3,7 +3,7 @@
# T-Pot post install script #
# Ubuntu server 14.04.3, x64 #
# #
# v16.03.11 by mo, DTAG, 2016-03-02 #
# v16.03.12 by mo, DTAG, 2016-03-03 #
########################################################
# Type of install, SENSOR, INDUSTRIAL or FULL?
@ -316,6 +316,9 @@ for i in $(cat /data/images.conf);
cp /data/upstart/$i.conf /etc/init/;
done
# Let's turn persistence off by default
touch /data/persistence.off
# Let's take care of some files and permissions
chmod 760 -R /data
chown tpot:tpot -R /data