~dpigott/lava-master-image-scripts/fix-stty-bug

1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

# Prevent gnome from popping up windows
if [ -n "$(which dconf)" ]; then
    dconf write /org/gnome/desktop/media-handling/automount false
    dconf write /org/gnome/desktop/media-handling/automount-open false
    echo "GNOME automont is now disabled"
else
    echo "You don't have dconf binary installed"
fi