$config['system']['user'][0]['priv'][3]['name']="Is allowed to copy files";
$config['system']['user'][0]['priv'][3]['descr']=sprintf(gettext("Indicates whether this user is allowed to copy files onto the %s appliance via SCP/SFTP. If you are going to use this privilege, you must install scponly on the appliance (Hint: pkg_add -r scponly)."),$g['product_name']);
$config['system']['user'][0]['priv'][4]['descr']=gettext("This user is associated with the UNIX root user (you should associate this privilege only with one single user).");
...
...
@@ -2004,9 +2001,9 @@ function upgrade_053_to_054() {
}
functionupgrade_054_to_055(){
functionupgrade_054_to_055()
{
global$config;
global$g;
/* RRD files changed for quality, traffic and packets graphs */
//ini_set("max_execution_time", "1800");
...
...
@@ -2642,10 +2639,9 @@ function upgrade_079_to_080() {
}
}
functionupgrade_080_to_081(){
functionupgrade_080_to_081()
{
global$config;
global$g;
/* Welcome to the 2.1 migration path */
/* tag all the existing gateways as being IPv4 */
$i=0;
...
...
@@ -2893,8 +2889,9 @@ function upgrade_084_to_085() {
unset($gateways,$oldnames,$gateway_group_arr);
}
functionupgrade_085_to_086(){
global$config,$g;
functionupgrade_085_to_086()
{
global$config;
/* XXX: Gross hacks in sight */
if(is_array($config['virtualip']['vip'])){
...
...
@@ -3036,15 +3033,18 @@ function upgrade_091_to_092() {