Added auto-off for WiFi while LAN connection.
[inetstation.git] / modules / system / manifests / init.pp
index 6bc90a5..8693403 100644 (file)
@@ -101,6 +101,13 @@ class system {
                require => Package['network-manager'],
        }
 
+       file { '/etc/NetworkManager/dispatcher.d/99-wlan':
+               ensure => file,
+               source => 'puppet:///modules/system/etc/NetworkManager/dispatcher.d/99-wlan',
+               mode => 'a=r',
+               require => Package['network-manager'],
+       }
+
        file { '/etc/NetworkManager/system-connections/ffm.freifunk.net':
                ensure => file,
                source => 'puppet:///modules/system/etc/NetworkManager/system-connections/ffm.freifunk.net',