diff options
author | Colin Smith <colin@pfsense.org> | 2005-10-04 01:05:06 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-10-04 01:05:06 +0000 |
commit | 421a1c0315bf980f5f6d96011faccccc5abf4637 (patch) | |
tree | 92874cb88ed8fca65a654513d7c37964ece16a9f /etc/inc | |
parent | a2941f9e1ae082d6978efb13eb19e298a4ab624a (diff) | |
download | pfsense-421a1c0315bf980f5f6d96011faccccc5abf4637.zip pfsense-421a1c0315bf980f5f6d96011faccccc5abf4637.tar.gz |
Remove system_do_extensions(), a function left over from m0n0.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 3b26ba8..6b3f274 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -748,25 +748,6 @@ function system_do_shell_commands($early = 0) { } } -function system_do_extensions($early = false) { - global $config, $g; - - if (!is_dir("{$g['etc_path']}/inc/ext")) - return; - - $dh = @opendir("{$g['etc_path']}/inc/ext"); - if ($dh) { - while (($extd = readdir($dh)) !== false) { - if (($extd === ".") || ($extd === "..")) - continue; - $rcfile = "{$g['etc_path']}/inc/ext/" . $extd . "/" . ($early ? "rc.early" : "rc"); - if (file_exists($rcfile)) - passthru($rcfile); - } - closedir($dh); - } -} - function system_console_configure() { global $config, $g; |