summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-06 19:18:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-06 19:18:27 +0000
commitaac8957dbb8a7f9eabd84768e945fbaede880eb6 (patch)
treeb9a27393445e2bf86d65e2c300bbbbca40a4fdd7 /etc/rc.linkup
parent34d47cf510ed38c168c13dfd25b568d22a433c3f (diff)
downloadpfsense-aac8957dbb8a7f9eabd84768e945fbaede880eb6.zip
pfsense-aac8957dbb8a7f9eabd84768e945fbaede880eb6.tar.gz
Simply note the arguments passed to rc.linkup instead of exiting.
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup6
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 7c69f71..debc541 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -42,11 +42,7 @@
$processing = true;
$counter = 1;
while($processing == true) {
- if($argv[$counter] == "" or $argv[$counter] == "\n") {
- $argspassed = file_get_contents("/tmp/rc.linkup");
- log_error("Arguments passed incorrectly to rc.linkup. '{$argspassed}' Exiting.");
- exit;
- }
+ log_error("Arguments passed rc.linkup. '{$argspassed}'");
/* do not process nics twice */
if (in_array($argv[$counter] . $argv[$counter+1], $processed_nics))
continue;
OpenPOWER on IntegriCloud