Skip to content
Snippets Groups Projects
Commit 7b0ed188 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-wan-dnsmasq: use libpacketmark

parent 35450875
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ define Package/gluon-wan-dnsmasq
SECTION:=gluon
CATEGORY:=Gluon
TITLE:=Support for a secondary DNS server using the WAN interface
DEPENDS:=+gluon-core +dnsmasq
DEPENDS:=+gluon-core +dnsmasq +libpacketmark
endef
define Package/gluon-wan-dnsmasq/description
......
......@@ -18,7 +18,7 @@ start() {
mkdir -p $RESOLV_CONF_DIR
touch $RESOLV_CONF
service_start /usr/sbin/dnsmasq -x $SERVICE_PID_FILE -u root -i lo -p $PORT --packet-mark=$PACKET_MARK -h -r $RESOLV_CONF
LD_PRELOAD=libpacketmark.so LIBPACKETMARK_MARK=$PACKET_MARK service_start /usr/sbin/dnsmasq -x $SERVICE_PID_FILE -u root -i lo -p $PORT -h -r $RESOLV_CONF
}
stop() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment