summaryrefslogtreecommitdiff
path: root/examples/hooks/madwifi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hooks/madwifi.sh')
-rwxr-xr-xexamples/hooks/madwifi.sh15
1 files changed, 5 insertions, 10 deletions
diff --git a/examples/hooks/madwifi.sh b/examples/hooks/madwifi.sh
index f45b968..178de88 100755
--- a/examples/hooks/madwifi.sh
+++ b/examples/hooks/madwifi.sh
@@ -2,16 +2,11 @@
# This is a hook for live-helper(7) to install madwifi drivers
# To enable it, copy this hook into your config/chroot_localhooks 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"
-
-# NOTE: it runs in interactive mode
-
-# Updating indices
-apt-get update
+# Note: This hook requires packages from the contrib 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
@@ -19,5 +14,5 @@ module-assistant update
module-assistant auto-install madwifi
module-assistant clean madwifi
-# Installing aditional stuff
+# Installing additional stuff
apt-get install --yes madwifi-tools madwifi-doc