gluon-core: remove now unused dnsmasq.d support
This commit is contained in:
parent
e9376fc3bd
commit
971dec8d27
@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh /etc/rc.common
|
|
||||||
|
|
||||||
START=11
|
|
||||||
|
|
||||||
|
|
||||||
start() {
|
|
||||||
mkdir -p /var/gluon/dnsmasq.d
|
|
||||||
}
|
|
5
package/gluon-core/files/lib/gluon/upgrade/core/invariant/010-dnsmasq
Executable file
5
package/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