Update check_systemd: remove bad content
This commit is contained in:
parent
3fd60bcded
commit
706fa685ec
@ -11,19 +11,6 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# ConnTrack files
|
|
||||||
FILE_CONNTRACK_MAX="/proc/sys/net/netfilter/nf_conntrack_max"
|
|
||||||
FILE_CONNTRACK_COUNT="/proc/sys/net/netfilter/nf_conntrack_count"
|
|
||||||
|
|
||||||
if [[ ! -f "$FILE_CONNTRACK_MAX" || ! -f "$FILE_CONNTRACK_COUNT" ]] ; then
|
|
||||||
echo "Error, one of this files does not exists :"
|
|
||||||
echo " - $FILE_CONNTRACK_MAX"
|
|
||||||
echo " - $FILE_CONNTRACK_COUNT"
|
|
||||||
exit2
|
|
||||||
fi
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Little script which check systemd status
|
# Little script which check systemd status
|
||||||
|
|
||||||
RETURN_CODE=0
|
RETURN_CODE=0
|
||||||
|
Loading…
Reference in New Issue
Block a user