From c0c7015354b0e87d6d128957048d460020612674 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Mon, 10 Nov 2008 21:34:41 +0000 Subject: Remove redundant check --- etc/rc.linkup | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'etc') diff --git a/etc/rc.linkup b/etc/rc.linkup index c0cdff7..dc14be3 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -37,17 +37,6 @@ require_once("functions.inc"); function handle_argument_group($argument1, $argument2) { global $config; - log_error("Processing {$argument1} - {$argument2}"); - $iface = convert_real_interface_to_friendly_interface_name($argument1); - if ($iface == "") { - log_error("Not a valid interface {$argument1} -> \"$iface\""); - return; - } - if($argument2 == "") { - log_error("Not a valid interface action \"$argument2\""); - return; - } - $ipaddr = $config['interfaces'][$iface]['ipaddr']; if (is_ipaddr($ipaddr)) { log_error("Hotplug event detected for {$argument1} but ignoring since interface is configured with static ip({$ipaddr})"); -- cgit v1.1