mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update raid.sh
This commit is contained in:
@@ -16,6 +16,8 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
THEGREP=$(ps -ef | grep $0 | grep -v $$ | grep -v grep)
|
THEGREP=$(ps -ef | grep $0 | grep -v $$ | grep -v grep)
|
||||||
|
RAIDLOG=/var/log/raid/status.log
|
||||||
|
RAIDSTATUS=$(cat /var/log/raid/status.log)
|
||||||
|
|
||||||
if [ ! "$THEGREP" ]; then
|
if [ ! "$THEGREP" ]; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user