dnsleases added
Tento commit je obsažen v:
rodič
c37533ea58
revize
327c6b0ebd
14
dnsleases
Spustitelný soubor
14
dnsleases
Spustitelný soubor
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
LEASES_FILE=/var/lib/misc/dnsmasq.leases
|
||||
|
||||
print_vlan()
|
||||
{
|
||||
echo "Hosts in VLAN $1"
|
||||
grep 192.168.$1. $LEASES_FILE | sed 's/^/ * /'
|
||||
}
|
||||
|
||||
for vl in 20 30 40 50 60 90
|
||||
do
|
||||
print_vlan $vl
|
||||
done
|
Načítá se…
x
Odkázat v novém úkolu
Zablokovat Uživatele