gluon-core: remove now unused dnsmasq.d support

This commit is contained in:
Matthias Schiffer 2014-07-20 04:04:27 +02:00
parent 5af1e58f08
commit 09909cac25
4 changed files with 5 additions and 11 deletions

View File

@ -1,8 +0,0 @@
#!/bin/sh /etc/rc.common
START=11
start() {
mkdir -p /var/gluon/dnsmasq.d
}

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ -e /etc/dnsmasq.conf ]; then
sed -i -e '/^conf-dir=\/lib\/gluon\/dnsmasq\.d$/d' -e '/^conf-dir=\/var\/gluon\/dnsmasq\.d$/d' /etc/dnsmasq.conf
fi

View File

@ -1,3 +0,0 @@
#!/bin/sh
echo -e 'conf-dir=/lib/gluon/dnsmasq.d\nconf-dir=/var/gluon/dnsmasq.d' > /etc/dnsmasq.conf