No longer manage Wheezy initrd
This commit is contained in:
parent
b78de6d7b4
commit
2f47067534
|
@ -1,12 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This script do the following:
|
# This script do the following:
|
||||||
# Download Debian Initrd for Stretch, Buster, Jessie, Wheezy and Sid
|
# Download Debian Initrd for Buster, Stretch, Jessie and Sid
|
||||||
# Download firmwares:
|
# Download firmwares:
|
||||||
# bnx2
|
# bnx2
|
||||||
# all non-free (for tigon)
|
# all non-free (for tigon)
|
||||||
|
# Myricom for IBM
|
||||||
|
# qlogic
|
||||||
|
# iwlwifi (Intel WiFi for user's laptop)
|
||||||
# Extract all downloaded files
|
# Extract all downloaded files
|
||||||
# Make a new initrd with the previous firmwares
|
# Make a new initrd with the previous firmwares with XZ format
|
||||||
|
|
||||||
if command -v in.tftpd > /dev/null; then
|
if command -v in.tftpd > /dev/null; then
|
||||||
source /etc/default/tftpd-hpa
|
source /etc/default/tftpd-hpa
|
||||||
|
@ -14,7 +17,7 @@ else
|
||||||
TFTP_DIRECTORY="/srv/tftp"
|
TFTP_DIRECTORY="/srv/tftp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for DISTRO in stretch buster jessie wheezy sid; do # For ALL Debian's version
|
for DISTRO in buster stretch jessie sid; do # For ALL Debian's version
|
||||||
|
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
pushd "${TEMP_DIR}" > /dev/null
|
pushd "${TEMP_DIR}" > /dev/null
|
||||||
|
|
Loading…
Reference in New Issue