mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
OpenVPN gefixt.
ctorrent hinzugefuegt. UpdateBooster/SquidGuard gefixt. Pakfire-Archiv geaendert. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@647 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
#
|
||||
# (c) 2006 marco.s
|
||||
#
|
||||
# $Id: updatexlrator.cgi,v 1.0.0 2006/09/12 00:00:00 marco.s Exp $
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
@@ -177,7 +175,7 @@ if ($xlratorsettings{'ACTION'} eq $Lang::tr{'updxlrtr save and restart'})
|
||||
|
||||
&savesettings;
|
||||
|
||||
system('/usr/local/bin/squidctrl restart');
|
||||
system('/usr/local/bin/squidctrl restart >/dev/null 2>&1');
|
||||
}
|
||||
|
||||
if ($xlratorsettings{'ACTION'} eq $Lang::tr{'updxlrtr remove file'})
|
||||
|
||||
@@ -369,7 +369,7 @@ if (($filtersettings{'ACTION'} eq $Lang::tr{'save'}) ||
|
||||
|
||||
&setpermissions ($dbdir);
|
||||
|
||||
system('/usr/local/bin/restartsquid');
|
||||
system('/usr/local/bin/squidctrl restart >/dev/null 2>&1');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -503,7 +503,7 @@ if (($tcsettings{'MODE'} eq 'TIMECONSTRAINT') && ($tcsettings{'ACTION'} eq $Lang
|
||||
$errormessage = $Lang::tr{'urlfilter web proxy service required'};
|
||||
}
|
||||
|
||||
if (!$errormessage) { system('/usr/local/bin/restartsquid'); }
|
||||
if (!$errormessage) { system('/usr/local/bin/squidctrl restart >/dev/null 2>&1'); }
|
||||
$tcsettings{'TCMODE'}='on';
|
||||
}
|
||||
|
||||
@@ -706,7 +706,7 @@ if (($uqsettings{'MODE'} eq 'USERQUOTA') && ($uqsettings{'ACTION'} eq $Lang::tr{
|
||||
$errormessage = $Lang::tr{'urlfilter web proxy service required'};
|
||||
}
|
||||
|
||||
if (!$errormessage) { system('/usr/local/bin/restartsquid'); }
|
||||
if (!$errormessage) { system('/usr/local/bin/squidctrl restart >/dev/null 2>&1'); }
|
||||
$uqsettings{'UQMODE'}='on';
|
||||
}
|
||||
|
||||
@@ -960,7 +960,7 @@ if (($besettings{'ACTION'} eq $Lang::tr{'urlfilter install blacklist'}) && ($bes
|
||||
|
||||
&writeconfigfile;
|
||||
|
||||
system('/usr/local/bin/restartsquid') unless ($besettings{'NORESTART'} eq 'on');
|
||||
system('/usr/local/bin/squidctrl restart >/dev/null 2>&1') unless ($besettings{'NORESTART'} eq 'on');
|
||||
|
||||
if (-d $editdir) { system("rm -rf $editdir"); }
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user