summaryrefslogtreecommitdiffstats
path: root/install/fw
diff options
context:
space:
mode:
authorTobias Powalowski <tpowa@archlinux.org>2006-05-10 17:52:22 +0200
committerTobias Powalowski <tpowa@archlinux.org>2006-05-10 17:52:22 +0200
commite18d03df946daab43ba02d3b072075f731ff5bee (patch)
tree735850a197d4a6318313903794396b95ecf835ad /install/fw
parent5285caea84fe71dc0856631583df030a7405c44c (diff)
downloadmkinitcpio-e18d03df946daab43ba02d3b072075f731ff5bee.tar.gz
mkinitcpio-e18d03df946daab43ba02d3b072075f731ff5bee.tar.xz
'added fw stuff'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@92 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/fw')
-rw-r--r--install/fw24
1 files changed, 24 insertions, 0 deletions
diff --git a/install/fw b/install/fw
new file mode 100644
index 0000000..f5ea726
--- /dev/null
+++ b/install/fw
@@ -0,0 +1,24 @@
+# vim: set ft=sh:
+
+install ()
+{
+ MODULES=" $(checked_modules "/ieee1394/") "
+
+ MODULES=$(echo ${MODULES}) #trim whitespace
+ if [ "x${MODULES}" != "x" ]; then
+ MODULES="${MODULES} sbp2 sd_mod sr_mod"
+ fi
+ BINARIES=""
+ FILES=""
+ SCRIPT="fw"
+}
+
+help ()
+{
+cat<<HELPEOF
+ This hook loads the necessary modules for a firewire root device.
+ Detection will take place at runtime. To minimize the modules
+ in the image, add the autodetect hook too.
+HELPEOF
+}
+