diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-06 18:46:32 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-06 18:46:32 +0000 |
commit | 73c27364a473420203d4f582f0623262f88fcfb2 (patch) | |
tree | dbe02bffd6442ddc1e50b2f213a028394a546571 /etc/rc.linkup | |
parent | 8a9a48395aa35ca882b1fa6a6094152e41919014 (diff) | |
download | pfsense-73c27364a473420203d4f582f0623262f88fcfb2.zip pfsense-73c27364a473420203d4f582f0623262f88fcfb2.tar.gz |
Output args passed so that we can get a better idea of what is happening.
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index 9de255a..36654fa 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -41,7 +41,8 @@ $counter = 1; while($processing == true) { if($argv[$counter] == "" or $argv[$counter] == "\n") { - log_error("Arguments passed incorrectly to rc.linkup. Exiting."); + $argspassed = file_get_contents("/tmp/rc.linkup"); + log_error("Arguments passed incorrectly to rc.linkup. '{$argspassed}' Exiting."); exit; } log_error("Processing {$argv[$counter]} - {$argv[$counter+1]}"); |