Commit 46c8a8f5 authored by Ad Schellevis's avatar Ad Schellevis

remove package privs (unused)

parent 9836d1c4
...@@ -59,12 +59,6 @@ $dir_array = get_priv_files("/usr/local/etc/inc/priv"); ...@@ -59,12 +59,6 @@ $dir_array = get_priv_files("/usr/local/etc/inc/priv");
foreach ($dir_array as $file) foreach ($dir_array as $file)
if (!is_dir("/usr/local/etc/inc/priv/{$file}") && stristr($file,".inc")) if (!is_dir("/usr/local/etc/inc/priv/{$file}") && stristr($file,".inc"))
include("priv/{$file}"); include("priv/{$file}");
if(is_dir("/usr/local/pkg/priv")) {
$dir_array = get_priv_files("/usr/local/pkg/priv");
foreach ($dir_array as $file)
if (!is_dir("/usr/local/pkg/priv/{$file}") && stristr($file,".inc"))
include("/usr/local/pkg/priv/{$file}");
}
if(is_array($priv_list)) if(is_array($priv_list))
sort_privs($priv_list); sort_privs($priv_list);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment