live-build/examples/hooks/rt2570.sh

12 lines
368 B
Bash
Executable File

#!/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