#!/bin/bash set -e cat << EOF | debconf-set-selections firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true EOF apt --error-on=any -y update apt -y upgrade apt -y install $WDVN_PACKAGES_INTERACTIVE export DEBIAN_FRONTEND="noninteractive" apt -y install $WDVN_PACKAGES update-rc.d keyboard-setup.sh defaults if [ "$WDVN_ONLINE" != "1" ]; then if [ "$WDVN_FAT" != "1" ]; then apt -y install --download-only $WDVN_PACKAGES_DL else apt -y install $WDVN_PACKAGES_DL fi fi unset DEBIAN_FRONTEND apt -y autoclean