Revert install openresolv for wg-quick

This commit is contained in:
billz
2025-10-23 03:39:52 -07:00
parent 079191b660
commit 2aafe2b61c

View File

@@ -246,11 +246,6 @@ function _install_dependencies() {
else
echo "${php_package} will be installed from the main deb sources list"
fi
# Add openresolv for Debian 13+ (Trixie) to support wg-quick
if [ ${OS,,} = "debian" ] && [[ ${RELEASE} =~ ^(13) ]]; then
openresolv_package="openresolv"
echo "${openresolv_package} will be installed from the main deb sources list"
fi
if [ ${OS,,} = "debian" ] || [ ${OS,,} = "ubuntu" ]; then
dhcpcd_package="dhcpcd5"
iw_package="iw"
@@ -288,7 +283,7 @@ function _install_dependencies() {
# 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 $rsync_package $network_tools $ifconfig_package $openresolv_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 $rsync_package $network_tools $ifconfig_package vnstat qrencode jq isoquery || _install_status 1 "Unable to install dependencies"
if [[ "$php_package" == *"-fpm" ]]; then
_install_log "Enabling lighttpd fastcgi-php-fpm module for $php_package"