Merge branch 'master' into next
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 1 Aug 2010 17:09:25 +0000 (19:09 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 1 Aug 2010 17:09:25 +0000 (19:09 +0200)
config/rootfiles/packages/ipfireseeder
lfs/ipfireseeder
src/initscripts/init.d/dnsmasq

index f38ed4e..64898be 100644 (file)
@@ -1,5 +1,5 @@
 etc/rc.d/init.d/ipfireseeder
 #var/ipfire/seeder
-var/ipfire/seeder/ipfire-2.7.i586-full-core38.iso.torrent
+var/ipfire/seeder/ipfire-2.7.i586-full-core39.iso.torrent
 #var/log/seeder
 var/log/seeder/info
index 4477762..6f1af88 100644 (file)
@@ -33,7 +33,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = ipfireseeder
-PAK_VER    = 12
+PAK_VER    = 13
 
 DEPS       = "rtorrent"
 
@@ -45,7 +45,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 0848aee5e93b9716ce70f6dcdf2f5863
+$(DL_FILE)_MD5 = fb86055370d1cd5c0736c47b3e4f68f6
 
 install : $(TARGET)
 
index 0dfb1f4..1185921 100644 (file)
 . /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
@@ -41,7 +46,8 @@ 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