changeset 948:4ec8a1c7f73c draft

the contrib scripts they should be in contrib/
author Nick <nick@somerandomnick.ano>
date Mon, 04 Jun 2012 13:29:22 +0000
parents 1b0a312dcad0
children d0adc78f6b4b
files contrib/sevilNatas/as_script contrib/sevilNatas/subnet_script scripts/as_script scripts/subnet_script
diffstat 4 files changed, 22 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/sevilNatas/as_script	Mon Jun 04 13:29:22 2012 +0000
@@ -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\$"
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/sevilNatas/subnet_script	Mon Jun 04 13:29:22 2012 +0000
@@ -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\$"
+
--- a/scripts/as_script	Mon Jun 04 13:27:43 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -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\$"
-
--- a/scripts/subnet_script	Mon Jun 04 13:27:43 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -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\$"
-