From 215d9ed10068667dbf41a2a3dcf1f9e746e8a67c Mon Sep 17 00:00:00 2001 From: Patrick Date: Sun, 26 Mar 2017 14:13:02 +0200 Subject: [PATCH] Anpassung bei den Useranzahlen --- dyn_announce_gw_bw_with-max-client-leases.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyn_announce_gw_bw_with-max-client-leases.sh b/dyn_announce_gw_bw_with-max-client-leases.sh index f3e9671..f88ea12 100755 --- a/dyn_announce_gw_bw_with-max-client-leases.sh +++ b/dyn_announce_gw_bw_with-max-client-leases.sh @@ -40,7 +40,7 @@ do # Erlangen schalten wir die Gatewayselection zur Sicherheit bei 450 leases ab, damit noch etwas Puffer nach oben ist! leasecount=$(/usr/sbin/dhcp-lease-list --parsable --lease /var/lib/dhcp/dhcpd.leases 2>&1 | grep "10.50.100" | wc -l) - if [ $leasecount -gt 450 ] + if [ $leasecount -gt 250 ] then batctl -m bat0 gw_mode off fi