diff options
Diffstat (limited to 'config/squidGuard')
-rw-r--r-- | config/squidGuard/squidguard.xml | 2 | ||||
-rw-r--r-- | config/squidGuard/squidguard_configurator.inc | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/config/squidGuard/squidguard.xml b/config/squidGuard/squidguard.xml index 7f3036ba..a1b80164 100644 --- a/config/squidGuard/squidguard.xml +++ b/config/squidGuard/squidguard.xml @@ -6,7 +6,7 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>squidguardgeneral</name> - <version>1.4_7 pkg v.1.9.11</version> + <version>1.4_7 pkg v.1.9.13</version> <title>Proxy filter SquidGuard: General settings</title> <include_file>/usr/local/pkg/squidguard.inc</include_file> <!-- Installation --> diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc index ca66d89a..551ca542 100644 --- a/config/squidGuard/squidguard_configurator.inc +++ b/config/squidGuard/squidguard_configurator.inc @@ -2038,15 +2038,16 @@ function squidguard_ramdisk($enable) # delete old squidguard ramdisk if (file_exists("/dev/md15")) { - mwexec("umount -f " . SQUIDGUARD_TMP); + mwexec("/sbin/umount -f " . SQUIDGUARD_TMP); mwexec("sleep 1"); - mwexec("mdconfig -d -u 15"); + mwexec("/sbin/mdconfig -d -u 15"); } if ($enable === true) { # create temp ramdisk # size 300Mb very nice for work with Archive < 30Mb # this is size use physical RAM + Swap file + mkdir(SQUIDGUARD_TMP); mwexec("/sbin/mdmfs -s {$ramsize}M md15 " . SQUIDGUARD_TMP); mwexec("chmod 1777 " . SQUIDGUARD_TMP); } |