Skip to content
Snippets Groups Projects
Commit e89f9bc5 authored by Bob Mottram's avatar Bob Mottram
Browse files

Move dconf command to mesh startup script

parent 91c3974c
No related branches found
No related tags found
No related merge requests found
......@@ -1153,9 +1153,6 @@ function configure_user_interface {
mesh_client_startup_applications
mesh_desktop_icons
# disable screen lock
chroot "$rootdir" dconf write /org/gnome/desktop/screensaver/lock-enabled false
# change the desktop background
if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
if [ -f $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
......
......@@ -359,6 +359,10 @@ function disable_password_logins {
sed -i 's|PasswordAuthentication.*|PasswordAuthentication no|g' /etc/ssh/sshd_config
}
function disable_screen_lock {
dconf write /org/gnome/desktop/screensaver/lock-enabled false
}
if [ -f /root/.initial_mesh_setup ]; then
if [ $1 ]; then
MY_USERNAME=$1
......@@ -381,6 +385,7 @@ if [ -f /root/.initial_mesh_setup ]; then
configure_toxcore
configure_zeronet
disable_password_logins
disable_screen_lock
rm /root/.initial_mesh_setup
systemctl disable mesh-setup.service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment