Debian Codegraph @

debian/get-digium-firmware

raw
1 #!/bin/sh
2
3 # get-digium-firmware: Download firmware for Digium's hardware.
4 #
5 # This script is a trivial wrapper around the Makefile originally from
6 # drivers/dahdi/firmware in the dahdi-linux source distribution.
7
8 # Written by Tzafrir Cohen <[email protected]>
9 # Copyright (C) 2009, Xorcom
10 #
11 # All rights reserved.
12 #
13 # This program is free software; you can redistribute it and/or modify
14 # it under the terms of the GNU General Public License as published by
15 # the Free Software Foundation; either version 2 of the License, or
16 # (at your option) any later version.
17 #
18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details.
22 #
23 # You should have received a copy of the GNU General Public License along
24 # with this program; if not, If not, see <http://www.gnu.org/licenses/>.
25
26 DIGIUM_FIRMWARE_DIR="/var/lib/dahdi/digium-firm"
27
28 make -C "$DIGIUM_FIRMWARE_DIR" \
29 HOTPLUG_FIRMWARE=yes \
30 INSTALL_FIRMWARE=/usr/share/dahdi/install_firmware \
31 hotplug-install