view scripts/add_as @ 199:12af06c2a822 draft

looks like even AnoNet2 can't keep AnoNet1's wiki up ;-)
author Nick <nick@somerandomnick.ano>
date Tue, 19 Oct 2010 20:35:11 +0000
parents 89b5d9e83572
children
line wrap: on
line source

#!/bin/sh

if [ x"$2" = x ]; then
 echo "Usage: $0 <ASN> <owner>" >&2; exit 255
fi

mkdir db/as/$1 || exit 1
echo $2 > db/as/$1/owner