summaryrefslogtreecommitdiff
path: root/scripts/add_as
blob: 42dcd10f931788836ee0e0ce365c1c3b7dd1ffa4 (plain) (blame)
1
2
3
4
5
6
7
8
#!/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