From 44c60a6df1a4ceaf658ac689b9cc0882e5085dcd Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 4 Jun 2012 13:29:22 +0000 Subject: the contrib scripts they should be in contrib/ --- contrib/sevilNatas/as_script | 11 +++++++++++ contrib/sevilNatas/subnet_script | 11 +++++++++++ scripts/as_script | 11 ----------- scripts/subnet_script | 11 ----------- 4 files changed, 22 insertions(+), 22 deletions(-) create mode 100755 contrib/sevilNatas/as_script create mode 100644 contrib/sevilNatas/subnet_script delete mode 100755 scripts/as_script delete mode 100644 scripts/subnet_script diff --git a/contrib/sevilNatas/as_script b/contrib/sevilNatas/as_script new file mode 100755 index 0000000..f01724b --- /dev/null +++ b/contrib/sevilNatas/as_script @@ -0,0 +1,11 @@ +#!/bin/sh +# READ ME: +# If AS# is taken it will return the desired AS# +# else it will not return the desired AS# +echo -e "Enter path to resdb:\c" +read resdb +cd $resdb +echo -e "Enter desired AS#:\c" +read asn +ls db/as/ | grep "^$asn\$" + diff --git a/contrib/sevilNatas/subnet_script b/contrib/sevilNatas/subnet_script new file mode 100644 index 0000000..378bf04 --- /dev/null +++ b/contrib/sevilNatas/subnet_script @@ -0,0 +1,11 @@ +#!/bin/sh +# READ ME: +# If subnet is taken it will return the desired AS# +# else it will not return the desired subnet +echo -e "Enter path to resdb:\c" +read resdb +cd $resdb +echo -e "Enter desired subnet:\c" +read subnet +cat db/ip/01/*/*/cidr | grep "^$subnet\$" + diff --git a/scripts/as_script b/scripts/as_script deleted file mode 100755 index f01724b..0000000 --- a/scripts/as_script +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# READ ME: -# If AS# is taken it will return the desired AS# -# else it will not return the desired AS# -echo -e "Enter path to resdb:\c" -read resdb -cd $resdb -echo -e "Enter desired AS#:\c" -read asn -ls db/as/ | grep "^$asn\$" - diff --git a/scripts/subnet_script b/scripts/subnet_script deleted file mode 100644 index 378bf04..0000000 --- a/scripts/subnet_script +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# READ ME: -# If subnet is taken it will return the desired AS# -# else it will not return the desired subnet -echo -e "Enter path to resdb:\c" -read resdb -cd $resdb -echo -e "Enter desired subnet:\c" -read subnet -cat db/ip/01/*/*/cidr | grep "^$subnet\$" - -- cgit v1.2.3