Last change
on this file since 4182 was 4166, checked in by rick, 20 years ago |
Simpel tooltje om even te kijken welke ip's allemaal al bezet zijn
|
File size:
313 bytes
|
Rev | Line | |
---|
[4166] | 1 | #!/bin/sh
|
---|
| 2 | #
|
---|
| 3 | # Copyright 2005 Stichting Wireless Leiden
|
---|
| 4 | # Rick van der Zwet
|
---|
| 5 | #
|
---|
| 6 |
|
---|
| 7 | if [ $1 ]; then
|
---|
| 8 | zonenumber=$1
|
---|
| 9 | cat */wleiden.conf | grep ^IP | grep 172.${zonenumber} | sed s/IP=172.${zonenumber}.// |\
|
---|
| 10 | sort -n | sed s/^/172.${zonenumber}./
|
---|
| 11 | else
|
---|
| 12 | echo "Usage $0 <zonenumber>"
|
---|
| 13 | echo "Get used ip addresses"
|
---|
| 14 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.