|
@@ -531,10 +531,6 @@ function disable_password_logins {
|
531
|
531
|
sed -i 's|PasswordAuthentication.*|PasswordAuthentication no|g' /etc/ssh/sshd_config
|
532
|
532
|
}
|
533
|
533
|
|
534
|
|
-function disable_screen_lock {
|
535
|
|
- dconf write /org/gnome/desktop/screensaver/lock-enabled false
|
536
|
|
-}
|
537
|
|
-
|
538
|
534
|
function enable_batman_daemon {
|
539
|
535
|
systemctl enable batman
|
540
|
536
|
systemctl daemon-reload
|
|
@@ -610,8 +606,6 @@ function create_tomb {
|
610
|
606
|
tomb forge /mnt/ramdisk/${tomb_name}.tomb.key --tomb-pwd "${TOMB_TEMP_PASSWORD}" --unsafe
|
611
|
607
|
tomb lock /tmp/${tomb_name}.tomb -k /mnt/ramdisk/${tomb_name}.tomb.key --tomb-pwd "${TOMB_TEMP_PASSWORD}" --unsafe
|
612
|
608
|
tomb open /tmp/${tomb_name}.tomb -k /mnt/ramdisk/${tomb_name}.tomb.key --tomb-pwd "${TOMB_TEMP_PASSWORD}" --unsafe
|
613
|
|
- gsettings set org.mate.caja.desktop volumes-visible false
|
614
|
|
-
|
615
|
609
|
# stop stuff from popping up
|
616
|
610
|
pkill caja
|
617
|
611
|
|
|
@@ -726,20 +720,6 @@ function setup_amnesic_data {
|
726
|
720
|
fi
|
727
|
721
|
}
|
728
|
722
|
|
729
|
|
-function setup_dconf {
|
730
|
|
- if [ -d /home/${MY_USERNAME}/Desktop ]; then
|
731
|
|
- PID=$(pgrep gnome-session)
|
732
|
|
- export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ|cut -d= -f2-)
|
733
|
|
-
|
734
|
|
- dconf write /org/mate/caja/desktop/computer-icon-visible false
|
735
|
|
- dconf write /org/mate/caja/desktop/home-icon-visible false
|
736
|
|
- dconf write /org/mate/caja/desktop/network-icon-visible false
|
737
|
|
- dconf write /org/mate/caja/desktop/trash-icon-visible false
|
738
|
|
- dconf write /org/mate/caja/desktop/volumes-visible false
|
739
|
|
- dconf write /org/mate/desktop/media-handling/automount-open false
|
740
|
|
- fi
|
741
|
|
-}
|
742
|
|
-
|
743
|
723
|
# whether to reset the identity
|
744
|
724
|
set_new_identity=
|
745
|
725
|
if [ $2 ]; then
|
|
@@ -777,7 +757,6 @@ if [ -f $MESH_INSTALL_SETUP ]; then
|
777
|
757
|
|
778
|
758
|
echo $'Beginning mesh node setup' >> $INSTALL_LOG
|
779
|
759
|
|
780
|
|
- setup_dconf
|
781
|
760
|
tomb slam all
|
782
|
761
|
enable_batman_daemon
|
783
|
762
|
create_ram_disk 1
|
|
@@ -792,7 +771,6 @@ if [ -f $MESH_INSTALL_SETUP ]; then
|
792
|
771
|
create_tox_user
|
793
|
772
|
configure_zeronet
|
794
|
773
|
disable_password_logins
|
795
|
|
- disable_screen_lock
|
796
|
774
|
mesh_amnesic
|
797
|
775
|
|
798
|
776
|
if [ ! -f $MESH_AMNESIC ]; then
|