]> xenbits.xen.org Git - xenclient/build.git/commitdiff
[skel/xenclient] Fix mode of predefined wired connection config
authorThomas Horsten <thomas.horsten@citrix.com>
Mon, 28 Sep 2009 17:23:30 +0000 (18:23 +0100)
committerThomas Horsten <thomas.horsten@citrix.com>
Mon, 28 Sep 2009 17:25:01 +0000 (18:25 +0100)
Because NetworkManager barfs and refuses to use it if it's world
readable.

XC-209

target/generic/target_xenclient_skeleton/etc/init.d/S48bridge

index 12c67e3d4b5ede2f57627771aed5d553384379c9..526d2da4fb339daf576adc0f05b9e8fb8ea1fb21 100755 (executable)
@@ -35,6 +35,7 @@ case "$1" in
        # What we do need is a plugin that handles our weirdness or at
        # least a patch to make it not use HAL and just have only the
        # one forced interface.
+       chmod 600 /etc/NetworkManager/system-connections/*
        nm-system-settings --plugins=keyfile &
         export NM_IFACE_FORCE="brbridged"
        NetworkManager