view scripts/add_as @ 1082:9a272184435b draft

new file: db/ip/01/01/07/ns/1.1.7.153
author anonymous <nobody@nowhere>
date Sat, 16 Mar 2013 11:59:22 +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