#!/bin/bash set -e cat << EOF | debconf-set-selections firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true EOF apt -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 apt -y install --download-only $WDVN_PACKAGES_DL fi unset DEBIAN_FRONTEND apt -y autoclean