summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-09 18:35:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-09 18:35:37 +0000
commitffed1529ecaea4ad555a35e819ba75d947e4a50b (patch)
tree67a40d15daf433edd022bb04af87a81208f559c2 /etc/rc.linkup
parent6f043d8aad83ca31922a15e6f5281f0a3edc9108 (diff)
downloadpfsense-ffed1529ecaea4ad555a35e819ba75d947e4a50b.zip
pfsense-ffed1529ecaea4ad555a35e819ba75d947e4a50b.tar.gz
Remove logging helper entries
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index fd86c4c..6dd7fe1 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -40,6 +40,10 @@
for ($i = 1; $i <= $ARGC; $i++)
$argspassed .= $ARGV[$i] . " ";
+ if ( $ARGC != 2 ) {
+ exit;
+ }
+
log_error("Processing {$ARGV[1]} - {$ARGV[2]}");
$iface = convert_real_interface_to_friendly_interface_name($ARGV[1]);
/* XXX: billm - is this correct? we claim DHCP, but we're checking other types too */
OpenPOWER on IntegriCloud