From e18d03df946daab43ba02d3b072075f731ff5bee Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 10 May 2006 15:52:22 +0000 Subject: 'added fw stuff' git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@92 880c04e9-e011-0410-abf7-b926e227c9cd --- hooks/fw | 8 ++++++++ install/fw | 24 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 hooks/fw create mode 100644 install/fw diff --git a/hooks/fw b/hooks/fw new file mode 100644 index 0000000..576980a --- /dev/null +++ b/hooks/fw @@ -0,0 +1,8 @@ +# vim: set ft=sh: +run_hook () +{ + #if we have to root delay, default to 5 seconds + # this will be handled by kinit and/or the + # filesystems hook + export rootdelay=${rootdelay:-5} +} 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<