summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-10 21:34:41 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-10 21:34:41 +0000
commitc0c7015354b0e87d6d128957048d460020612674 (patch)
tree26512f557a90e828801d13557729cf536105a3f1 /etc/rc.linkup
parenta3a3a6b136ea9e8072bbdde33f941dfeb35b66c3 (diff)
downloadpfsense-c0c7015354b0e87d6d128957048d460020612674.zip
pfsense-c0c7015354b0e87d6d128957048d460020612674.tar.gz
Remove redundant check
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup11
1 files changed, 0 insertions, 11 deletions
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})");
OpenPOWER on IntegriCloud