mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-16 04:04:10 +02:00
gluon-core: remove now unused dnsmasq.d support
This commit is contained in:
parent
5af1e58f08
commit
09909cac25
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh /etc/rc.common
|
|
||||||
|
|
||||||
START=11
|
|
||||||
|
|
||||||
|
|
||||||
start() {
|
|
||||||
mkdir -p /var/gluon/dnsmasq.d
|
|
||||||
}
|
|
5
gluon/gluon-core/files/lib/gluon/upgrade/core/invariant/010-dnsmasq
Executable file
5
gluon/gluon-core/files/lib/gluon/upgrade/core/invariant/010-dnsmasq
Executable 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
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo -e 'conf-dir=/lib/gluon/dnsmasq.d\nconf-dir=/var/gluon/dnsmasq.d' > /etc/dnsmasq.conf
|
|
Loading…
Reference in New Issue
Block a user