summaryrefslogtreecommitdiff
path: root/examples/hooks/ipw3945.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:16 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commitf314791fa2fa3e6a557ca50ecb4a0cf7798fee79 (patch)
tree1289402c2df38afa3f1f70c7e40fe4f35835d670 /examples/hooks/ipw3945.sh
parentc79ab34a7c597c9e3ab202c644121c6944789424 (diff)
downloadlive-build-f314791fa2fa3e6a557ca50ecb4a0cf7798fee79.zip
live-build-f314791fa2fa3e6a557ca50ecb4a0cf7798fee79.tar.gz
Adding live-helper 1.0~a20-1.
Diffstat (limited to 'examples/hooks/ipw3945.sh')
-rwxr-xr-xexamples/hooks/ipw3945.sh16
1 files changed, 7 insertions, 9 deletions
diff --git a/examples/hooks/ipw3945.sh b/examples/hooks/ipw3945.sh
index 04d235b..18a977b 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