summaryrefslogtreecommitdiff
path: root/examples/hooks/rt2570.sh
blob: da4d23716e9787aab2117c055269f084bab05ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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.
#
# FIXME: it runs in interactive mode

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