diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-13 06:19:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-13 06:19:19 +0000 |
commit | f4bc6af969568a6698d0e8d888f55a0d54ee78c4 (patch) | |
tree | 541c17bf3e6acf330d54887b93c7e2801e01258f /etc/rc.linkup | |
parent | 57b6661794bd342f9ea6bdc8010dea3e90b4fb96 (diff) | |
download | pfsense-f4bc6af969568a6698d0e8d888f55a0d54ee78c4.zip pfsense-f4bc6af969568a6698d0e8d888f55a0d54ee78c4.tar.gz |
Move /tmp/rc.linkup unlink operation into rc.linkup
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index a26186a..bd50337 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -40,8 +40,11 @@ $processing = true; $counter = 1; while($processing == true) { - if($argv[$counter] == "" or $argv[$counter] == "\n") + if($argv[$counter] == "" or $argv[$counter] == "\n") { + if(file_exists("/tmp/rc.linkup")) + unlink("/tmp/rc.linkup"); exit; + } echo "Processing {$argv[$counter]} - {$argv[$counter+1]}\n"; $friendly_interface = convert_real_interface_to_friendly_interface_name($argv[$counter]); if($config['interfaces'][$friendly_interface]['ipaddr'] <> "dhcp" and |