summaryrefslogtreecommitdiff
path: root/scripts/add_as
blob: 8932700e383a1e4d0b2ce2f02649d42565da1cf6 (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 -p db/as/$1 || exit 1
echo $2 > db/as/$1/owner