summaryrefslogtreecommitdiff
path: root/examples/hooks/rt2570.sh
blob: bbf79c1d9064f137b07b6eee61b4e37dc339ebb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# This is a hook for live-helper(7) to install ralink rt2570 drivers
# To enable it, copy this hook into your config/chroot_local-hooks directory.

# NOTE: it runs in interactive mode

# Updating indices
apt-get update

# Building kernel module
which module-assistant || apt-get install --yes module-assistant
module-assistant update
module-assistant auto-install rt2570-source
module-assistant clean rt2570-source