diff options
author | Ermal <eri@pfsense.org> | 2010-04-30 20:40:20 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-04-30 20:40:20 +0000 |
commit | 7d9eef10a658f5a241099a6b34c4b6a64ba6f471 (patch) | |
tree | 649b345b4c61e7c4fe8867ddb552cdf9969ef201 | |
parent | 7bed82221ae8c4d9beffc05d35952d212ea7001e (diff) | |
download | pfsense-7d9eef10a658f5a241099a6b34c4b6a64ba6f471.zip pfsense-7d9eef10a658f5a241099a6b34c4b6a64ba6f471.tar.gz |
Remove unused function.
-rw-r--r-- | etc/inc/pfsense-utils.inc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 0995a92..3011ef9 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1408,25 +1408,6 @@ function get_cpu_speed() { return exec("sysctl hw.clockrate | awk '{ print $2 }'"); } -/* check if the wan interface is up - * Wait for a maximum of 10 seconds - * If the interface is up before then continue - */ -function is_wan_interface_up($interface) { - global $g; - global $config; - $i = 0; - while($i < 10) { - if(get_interface_gateway($interface)) { - return true; - } else { - sleep(1); - } - $i++; - } - return false; -} - function add_hostname_to_watch($hostname) { if(!is_dir("/var/db/dnscache")) { mkdir("/var/db/dnscache"); |