From 19320ddaa316e3e2dea57fbb7d7c762c47db3e43 Mon Sep 17 00:00:00 2001 From: TomasM Date: Fri, 16 Nov 2018 15:21:33 -0500 Subject: [PATCH] do it differently --- Slax/debian/install | 2 ++ Slax/debian/rootcopy/etc/default/dnsmasq | 33 ------------------------ 2 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 Slax/debian/rootcopy/etc/default/dnsmasq diff --git a/Slax/debian/install b/Slax/debian/install index dc26b5b..9f952a1 100644 --- a/Slax/debian/install +++ b/Slax/debian/install @@ -13,6 +13,8 @@ ln -sf bash /bin/sh apt-get remove --yes vim* grub* debconf-i18n installation-report +sed -i -r "s/ENABLED=1/ENABLED=0/" /etc/default/dnsmasq + CWD="$(pwd)" cd /tmp apt-get download acpi-support diff --git a/Slax/debian/rootcopy/etc/default/dnsmasq b/Slax/debian/rootcopy/etc/default/dnsmasq deleted file mode 100644 index aba9810..0000000 --- a/Slax/debian/rootcopy/etc/default/dnsmasq +++ /dev/null @@ -1,33 +0,0 @@ -# This file has five functions: -# 1) to completely disable starting dnsmasq, -# 2) to set DOMAIN_SUFFIX by running `dnsdomainname` -# 3) to select an alternative config file -# by setting DNSMASQ_OPTS to --conf-file= -# 4) to tell dnsmasq to read the files in /etc/dnsmasq.d for -# more configuration variables. -# 5) to stop the resolvconf package from controlling dnsmasq's -# idea of which upstream nameservers to use. -# For upgraders from very old versions, all the shell variables set -# here in previous versions are still honored by the init script -# so if you just keep your old version of this file nothing will break. - -#DOMAIN_SUFFIX=`dnsdomainname` -#DNSMASQ_OPTS="--conf-file=/etc/dnsmasq.alt" - -# Whether or not to run the dnsmasq daemon; set to 0 to disable. -ENABLED=0 - -# By default search this drop directory for configuration options. -# Libvirt leaves a file here to make the system dnsmasq play nice. -# Comment out this line if you don't want this. The dpkg-* are file -# endings which cause dnsmasq to skip that file. This avoids pulling -# in backups made by dpkg. -CONFIG_DIR=/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new - -# If the resolvconf package is installed, dnsmasq will use its output -# rather than the contents of /etc/resolv.conf to find upstream -# nameservers. Uncommenting this line inhibits this behaviour. -# Note that including a "resolv-file=" line in -# /etc/dnsmasq.conf is not enough to override resolvconf if it is -# installed: the line below must be uncommented. -#IGNORE_RESOLVCONF=yes