Merge lp:~zyga/lava-master-image-scripts/enable-automount-script into lp:lava-master-image-scripts

Proposed by Zygmunt Krynicki
Status: Merged
Merged at revision: 66
Proposed branch: lp:~zyga/lava-master-image-scripts/enable-automount-script
Merge into: lp:lava-master-image-scripts
Diff against target: 15 lines (+11/-0)
1 file modified
lava-enable-gnome-automount (+11/-0)
To merge this branch: bzr merge lp:~zyga/lava-master-image-scripts/enable-automount-script
Reviewer Review Type Date Requested Status
Michael Hudson-Doyle (community) Approve
Dave Pigott Pending
Review via email: mp+122658@code.launchpad.net

Description of the change

Add the 'lava-enable-gnome-automount' script to keep parity with existing disable script

To post a comment you must log in.
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Seems sensible, will merge.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'lava-enable-gnome-automount'
--- lava-enable-gnome-automount 1970-01-01 00:00:00 +0000
+++ lava-enable-gnome-automount 2012-09-04 11:24:19 +0000
@@ -0,0 +1,11 @@
1#!/bin/sh
2set -e
3
4# Prevent gnome from popping up windows
5if [ -n "$(which dconf)" ]; then
6 dconf write /org/gnome/desktop/media-handling/automount true
7 dconf write /org/gnome/desktop/media-handling/automount-open true
8 echo "GNOME automont is now enabled"
9else
10 echo "You don't have dconf binary installed"
11fi

Subscribers

People subscribed via source and target branches