mirror of
https://github.com/opnsense/plugins.git
synced 2026-04-24 19:07:49 -05:00
*/*: whitespace sweep
This commit is contained in:
@@ -35,7 +35,7 @@ use \OPNsense\Redis\Redis;
|
||||
|
||||
class ServiceController extends ApiControllerBase
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* restart redis service
|
||||
* @return array
|
||||
|
||||
@@ -51,9 +51,9 @@
|
||||
$('.nav-tabs a').on('shown.bs.tab', function (e) {
|
||||
history.pushState(null, null, e.target.hash);
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// form save event handlers for all defined forms
|
||||
$('[id*="save_"]').each(function(){
|
||||
$(this).click(function() {
|
||||
|
||||
@@ -21,4 +21,3 @@ command:/usr/local/etc/rc.d/redis status;exit 0
|
||||
parameters:
|
||||
type:script_output
|
||||
message:request redis status
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ use \OPNsense\Rspamd\RSpamd;
|
||||
|
||||
class ServiceController extends ApiControllerBase
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* restart rspamd service
|
||||
* @return array
|
||||
|
||||
@@ -57,9 +57,9 @@
|
||||
$('#missing_redis_plugin').show();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// form save event handlers for all defined forms
|
||||
$('[id*="save_"]').each(function(){
|
||||
$(this).click(function() {
|
||||
|
||||
@@ -6,4 +6,3 @@ mkdir -p /var/run/rspamd
|
||||
chown nobody:nobody /var/db/rspamd
|
||||
chown nobody:nobody /var/log/rspamd
|
||||
chown nobody:nobody /var/run/rspamd
|
||||
|
||||
|
||||
@@ -60,4 +60,3 @@ whitelisted_rcpts = "{{ OPNsense.Rspamd.rate_limit.whitelisted_rcpts|default('po
|
||||
max_rcpt = {{ OPNsense.Rspamd.rate_limit.max_rcpt|default('20') }};
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -23,6 +23,6 @@ timeout = 10s;
|
||||
{% if helpers.exists('OPNsense.redis.security.password') and OPNsense.redis.security.password != '' %}
|
||||
password = "{{ OPNsense.redis.security.password.replace('"',"\\\"") }}";
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -137,7 +137,7 @@ switch($action) {
|
||||
|
||||
// Get all AD* and DA* (IDE and SCSI) devices currently installed and stores them in the $devs array
|
||||
exec("ls /dev | grep '^\(ad\|da\|ada\)[0-9]\{1,2\}$'", $devs);
|
||||
|
||||
|
||||
if (count($devs) > 0) {
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user