zeronet config directory
This commit is contained in:
parent
53e1ae04e7
commit
565e289b3c
|
@ -550,6 +550,7 @@ function create_tomb {
|
|||
tomb forge /mnt/ramdisk/${tomb_name}.tomb.key --tomb-pwd "${TOMB_TEMP_PASSWORD}" --unsafe
|
||||
tomb lock /tmp/${tomb_name}.tomb -k /mnt/ramdisk/${tomb_name}.tomb.key --tomb-pwd "${TOMB_TEMP_PASSWORD}" --unsafe
|
||||
tomb open /tmp/${tomb_name}.tomb -k /mnt/ramdisk/${tomb_name}.tomb.key --tomb-pwd "${TOMB_TEMP_PASSWORD}" --unsafe
|
||||
pkill caja
|
||||
# clear the temporary password
|
||||
TOMB_TEMP_PASSWORD=
|
||||
}
|
||||
|
@ -603,7 +604,7 @@ function setup_amnesic_data {
|
|||
if [ -d /home/${MY_USERNAME}/.config/${tomb_name} ]; then
|
||||
rm -rf /home/${MY_USERNAME}/.config/${tomb_name}
|
||||
fi
|
||||
ln -s /media/${tomb_name} /home/${MY_USERNAME}/.config/${tomb_name}
|
||||
ln -s /media/${tomb_name} /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /media/${tomb_name}
|
||||
echo "${tomb_name} tomb created" >> $INSTALL_LOG
|
||||
|
|
Loading…
Reference in New Issue