Revision 285ef132
Added by Ermal Luçi over 10 years ago
etc/rc.newwanip | ||
---|---|---|
44 | 44 |
require_once("rrd.inc"); |
45 | 45 |
|
46 | 46 |
// Do not process while booting |
47 |
if($g['booting'])
|
|
47 |
if (platform_booting())
|
|
48 | 48 |
return; |
49 | 49 |
|
50 | 50 |
function restart_packages() { |
Also available in: Unified diff
Rather than set the g['booting'] on globals provide a function to test for that doing the right checks