Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install extra networking tools (insiders) #1475

Merged
merged 1 commit into from Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions installers/common.sh
Expand Up @@ -235,16 +235,19 @@ function _install_dependencies() {
iw_package="iw"
echo "${dhcpcd_package} and ${iw_package} will be installed from the main deb sources list"
fi

if [ ${OS,,} = "raspbian" ] && [[ ${RELEASE} =~ ^(12) ]]; then
dhcpcd_package="dhcpcd dhcpcd-base"
echo "${dhcpcd_package} will be installed from the main deb sources list"
fi
if [ "$insiders" == 1 ]; then
network_tools="curl dnsutils nmap"
echo "${network_tools} will be installed from the main deb sources list"
fi

# Set dconf-set-selections
echo iptables-persistent iptables-persistent/autosave_v4 boolean true | sudo debconf-set-selections
echo iptables-persistent iptables-persistent/autosave_v6 boolean true | sudo debconf-set-selections
sudo apt-get install -y lighttpd git hostapd dnsmasq iptables-persistent $php_package $dhcpcd_package $iw_package vnstat qrencode jq isoquery || _install_status 1 "Unable to install dependencies"
sudo apt-get install -y lighttpd git hostapd dnsmasq iptables-persistent $php_package $dhcpcd_package $iw_package $network_tools vnstat qrencode jq isoquery || _install_status 1 "Unable to install dependencies"
_install_status 0
}

Expand Down