Fix config
This commit is contained in:
parent
167e1be654
commit
d622f4d49f
|
@ -573,6 +573,7 @@ function mesh_client_startup_applications {
|
|||
|
||||
if [ ! -d $rootdir/home/$MY_USERNAME/.config/autostart ]; then
|
||||
mkdir -p $rootdir/home/$MY_USERNAME/.config/autostart
|
||||
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.config
|
||||
fi
|
||||
|
||||
START_DESKTOP=$rootdir/home/$MY_USERNAME/mesh-desktop.sh
|
||||
|
|
|
@ -185,7 +185,7 @@ function configure_zeronet_blog {
|
|||
|
||||
if [ ! -d /home/${MY_USERNAME}/.config/zeronet ]; then
|
||||
mkdir -p /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
fi
|
||||
echo "$ZERONET_URL/$ZERONET_BLOG_ADDRESS" > /home/${MY_USERNAME}/.config/zeronet/myblog
|
||||
|
||||
|
@ -263,7 +263,7 @@ function configure_zeronet_mail {
|
|||
|
||||
if [ ! -d /home/${MY_USERNAME}/.config/zeronet ]; then
|
||||
mkdir -p /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
fi
|
||||
echo "$ZERONET_URL/$ZERONET_MAIL_ADDRESS" > /home/${MY_USERNAME}/.config/zeronet/mymail
|
||||
|
||||
|
@ -336,7 +336,7 @@ function configure_zeronet_forum {
|
|||
|
||||
if [ ! -d /home/${MY_USERNAME}/.config/zeronet ]; then
|
||||
mkdir -p /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
fi
|
||||
echo "$ZERONET_URL/$ZERONET_FORUM_ADDRESS" > /home/${MY_USERNAME}/.config/zeronet/myforum
|
||||
|
||||
|
@ -405,7 +405,7 @@ function configure_zeronet_id {
|
|||
|
||||
if [ ! -d /home/${MY_USERNAME}/.config/zeronet ]; then
|
||||
mkdir -p /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
fi
|
||||
echo "$ZERONET_URL/$ZERONET_ID_ADDRESS" > /home/${MY_USERNAME}/.config/zeronet/myzeroid
|
||||
|
||||
|
@ -510,6 +510,7 @@ function show_desktop_icons {
|
|||
# set permissions
|
||||
chmod +x /home/$MY_USERNAME/Desktop/*
|
||||
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/Desktop/*
|
||||
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config/tox
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config/zeronet
|
||||
chown -R ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config/autostart
|
||||
|
@ -681,6 +682,7 @@ function setup_amnesic_data {
|
|||
if [ -d /media/${tomb_name} ]; then
|
||||
if [ ! -d /home/${MY_USERNAME}/.config ]; then
|
||||
mkdir -p /home/${MY_USERNAME}/.config
|
||||
chown ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
fi
|
||||
if [ -d /home/${MY_USERNAME}/.config/${tomb_name} ]; then
|
||||
rm -rf /home/${MY_USERNAME}/.config/${tomb_name}
|
||||
|
@ -698,6 +700,7 @@ function setup_amnesic_data {
|
|||
if [ -d /media/${tomb_name} ]; then
|
||||
if [ ! -d /home/${MY_USERNAME}/.config ]; then
|
||||
mkdir -p /home/${MY_USERNAME}/.config
|
||||
chown ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/.config
|
||||
fi
|
||||
if [ -d /home/${MY_USERNAME}/.config/zeronet ]; then
|
||||
rm -rf /home/${MY_USERNAME}/.config/zeronet
|
||||
|
@ -765,6 +768,10 @@ if [ -f $MESH_INSTALL_SETUP ]; then
|
|||
|
||||
echo $'Beginning mesh node setup' >> $INSTALL_LOG
|
||||
|
||||
if [ -d /home/$MY_USERNAME/.config ]; then
|
||||
chown ${MY_USERNAME}:${MY_USERNAME} /home/$MY_USERNAME/.config
|
||||
fi
|
||||
|
||||
tomb slam all
|
||||
enable_batman_daemon
|
||||
create_ram_disk 1
|
||||
|
|
Loading…
Reference in New Issue