aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/firewire.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/firewire.pp')
-rw-r--r--manifests/subsystem/firewire.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/subsystem/firewire.pp b/manifests/subsystem/firewire.pp
new file mode 100644
index 0000000..104d6e9
--- /dev/null
+++ b/manifests/subsystem/firewire.pp
@@ -0,0 +1,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",
+ }
+}