From: Philip Prindeville <philipp@redfish-solutions.com>
Date: Sun, 22 Oct 2023 20:26:48 +0000 (-0600)
Subject: dnsmasq: don't source functions.sh twice
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ac199c57c59ebc4f3cf642ab8541fa665d731c29;p=openwrt%2Fstaging%2Fdangole.git

dnsmasq: don't source functions.sh twice

It's already pulled in from /etc/rc.common.

Fixes: #13758

Fixes: 6b23836071b1 ("package: avoid the use of eval to parse ipcalc.sh output")

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
---

diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 4cef2f4c29..d356a21f81 100755
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -1,8 +1,6 @@
 #!/bin/sh /etc/rc.common
 # Copyright (C) 2007-2012 OpenWrt.org
 
-. /lib/functions.sh
-
 START=19
 
 USE_PROCD=1