aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/firewire.pp
blob: 104d6e9b626fdb811d4eb8a34aca52977dcbd9ab (plain)
1
2
3
4
5
6
7
8
class nodo::subsystem::firewire {
  # Make sure ohci1394 is not loaded
  # See http://padrao.sarava.org/trac/wiki/Debian/Firewire and the modprobe class
  exec { "rmmod ohci1394":
    unless  => "/bin/sh -c 'if `grep -q ^ohci1394 /proc/modules`; then false; else true; fi'",
    user    => "root",
  }
}