diff options
Diffstat (limited to 'examples/hooks/ipw3945.sh')
-rwxr-xr-x | examples/hooks/ipw3945.sh | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/examples/hooks/ipw3945.sh b/examples/hooks/ipw3945.sh index 04d235ba0..18a977b09 100755 --- a/examples/hooks/ipw3945.sh +++ b/examples/hooks/ipw3945.sh @@ -2,22 +2,20 @@ # This is a hook for live-helper(7) to install ipw3945 drivers # To enable it, copy this hook into your config/chroot_local-hooks directory. - -# IMPORTANT: for apt-get to locate the required packages you need to -# add "non-free" sections # -# e.g with make-live : --sections "main non-free" - -# Updating indices -apt-get update +# Note: This hook requires packages from the contrib and non-free section. Make +# sure you enabled it in your configuration. +# +# FIXME: it runs in interactive mode # Building kernel module which module-assistant || apt-get install --yes module-assistant module-assistant update -module-assistant auto-install ipw3945 # interactive mode for now +module-assistant auto-install ipw3945 module-assistant clean ipw3945 -apt-get install ipw3945d firmware-ipw3945 +# Installing additional stuff +apt-get install firmware-ipw3945 ipw3945d # hackish, autorun regulatory daemon, update-rc.d will reject that ln -s /etc/init.d/ipw3945d /etc/rc2.d/S19ipw3945d |