From 55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Fri, 6 Feb 2009 19:18:00 -0600 Subject: mv packages to config dir to match web layout --- packages/openbgpd/openbgpd.inc | 219 ----------------------------------------- 1 file changed, 219 deletions(-) delete mode 100644 packages/openbgpd/openbgpd.inc (limited to 'packages/openbgpd/openbgpd.inc') diff --git a/packages/openbgpd/openbgpd.inc b/packages/openbgpd/openbgpd.inc deleted file mode 100644 index 8e64c683..00000000 --- a/packages/openbgpd/openbgpd.inc +++ /dev/null @@ -1,219 +0,0 @@ - - function grey_out_value_boxes() { - var x = 0; - for(x=0; x<99; x++) { - if( \$('paramaters' + x) ) { - var fieldvalue = $('paramaters' + x).options[$('paramaters' + x).selectedIndex].text; - var length = fieldvalue.length; - length = length -2; - var last_two = fieldvalue.substring(length); - var without_last_two = fieldvalue.substring(0,length); - if( \$('parmvalue' + x) ) { - if(last_two != ' X') { - \$('parmvalue' + x).value = ''; - \$('parmvalue' + x).disabled = true; - } else { - \$('parmvalue' + x).disabled = false; - } - } - } - } - var timerID = setTimeout("grey_out_value_boxes()", 1200); - - } - grey_out_value_boxes(); - - - -EOF; - -} - -function is_openbgpd_running() { - $status = `ps awux | grep bgpd | grep "parent" | wc -l | awk '{ print \$1 }'`; - if(intval($status) > 0) - return true; - else - return false; -} - -?> \ No newline at end of file -- cgit v1.2.3