Skip to content
Snippets Groups Projects
Commit 5cd6c7ed authored by Elian Loraux's avatar Elian Loraux
Browse files

add 'bind' to monit exclusion list

parent 3f4d1acc
Branches
Tags
No related merge requests found
...@@ -61,7 +61,7 @@ if [ -z "$(dpkg -l | grep ' monit ')" ]; then ...@@ -61,7 +61,7 @@ if [ -z "$(dpkg -l | grep ' monit ')" ]; then
fi fi
# Monit all partition without swap and boot # Monit all partition without swap and boot
list_of_part=(`grep -v "#\|swap\|noauto" /etc/fstab | awk '{print $2}'`) list_of_part=(`grep -v "#\|swap\|noauto|bind" /etc/fstab | awk '{print $2}'`)
echo "" > ./$$-parts echo "" > ./$$-parts
for part in "${list_of_part[@]}" for part in "${list_of_part[@]}"
do do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment