DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = ipfireseeder
-PAK_VER = 12
+PAK_VER = 13
DEPS = "rtorrent"
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 0848aee5e93b9716ce70f6dcdf2f5863
+$(DL_FILE)_MD5 = fb86055370d1cd5c0736c47b3e4f68f6
install : $(TARGET)
. /etc/sysconfig/rc
. ${rc_functions}
+# Pull custom configuration file
+if [ -e "/etc/sysconfig/dnsmasq" ]; then
+ . /etc/sysconfig/dnsmasq
+fi
+
SHOW_SRV=1
case "${1}" in
[ -e "/var/ipfire/red/active" ] && ARGS="$ARGS -r /var/ipfire/red/resolv.conf"
ARGS="$ARGS --domain=`cat /var/ipfire/main/settings |grep DOMAIN |cut -d = -f 2`"
-
+ ARGS="$ARGS $CUSTOM_ARGS"
+
loadproc /usr/sbin/dnsmasq -l /var/state/dhcp/dhcpd.leases $ARGS
if [ "${SHOW_SRV}" -eq 1 ] && [ "${DNS1}" != "" -o "${DNS2}" != "" ]; then