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 6-monit-update
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ if [ -z "$(dpkg -l | grep ' monit ')" ]; then
fi
# 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
for part in "${list_of_part[@]}"
do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment