mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix salt-master check
This commit is contained in:
@@ -175,10 +175,8 @@ __check_so_status() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
__check_salt_master() {
|
__check_salt_master() {
|
||||||
local salt_master_status
|
$sshcmd -i /root/.ssh/so.key soremote@"$MSRV" systemctl is-active --quiet salt-master
|
||||||
salt_master_status=$($sshcmd -i /root/.ssh/so.key soremote@"$MSRV" systemctl is-active --quiet salt-master)
|
return $?
|
||||||
[[ -z $salt_master_status ]] && salt_master_status=1
|
|
||||||
return $salt_master_status
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_network_manager_conf() {
|
check_network_manager_conf() {
|
||||||
|
|||||||
Reference in New Issue
Block a user