source: genesis/nodes/freezone.sh@ 4307

Last change on this file since 4307 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
RevLine 
[4166]1#!/bin/sh
2#
3# Copyright 2005 Stichting Wireless Leiden
4# Rick van der Zwet
5#
6
7if [ $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}./
11else
12 echo "Usage $0 <zonenumber>"
13 echo "Get used ip addresses"
14fi
Note: See TracBrowser for help on using the repository browser.