Revision 51ef2e44
Added by Steve Beaver over 3 years ago
src/etc/rc.bootup | ||
---|---|---|
442 | 442 |
|
443 | 443 |
led_normalize(); |
444 | 444 |
|
445 |
// Ensure that any custom repository specifications that were downloaded are now clearred. |
|
446 |
// This ensure that no "left over" repos or messages remain |
|
447 |
// If the custom repo is still required, it will be downloaded once the user visists system/update |
|
448 |
// Basically this circumvents the 24 hour cache when custom repositories are in use |
|
449 |
$basename = "/usr/local/share/{$g['product_name']}/pkg/repos/pfSense-repo-custom.*"; |
|
450 |
foreach (glob($basename) as $f) { |
|
451 |
unlink($f); |
|
452 |
} |
|
453 |
|
|
445 | 454 |
notify_all_remote("Bootup complete"); |
446 | 455 |
?> |
Also available in: Unified diff
Delete all custom files if the custom repo specification is incomplete