Revision 285ef132
Added by Ermal Luçi over 10 years ago
etc/rc.linkup | ||
---|---|---|
94 | 94 |
} |
95 | 95 |
} |
96 | 96 |
|
97 |
global $g; |
|
98 |
if (!file_exists("{$g['varrun_path']}/booting") && empty($g['booting'])) { |
|
97 |
if (platform_booting()) { |
|
99 | 98 |
if (isset($_GET['interface'])) { |
100 | 99 |
if (!empty($_GET['interface'])) |
101 | 100 |
handle_argument_group(convert_real_interface_to_friendly_interface_name($_GET['interface']), $_GET['action']); |
Also available in: Unified diff
Rather than set the g['booting'] on globals provide a function to test for that doing the right checks