Correct comments
This commit is contained in:
parent
e22a7a8e75
commit
f3e93e796f
|
@ -91,7 +91,7 @@ if [ $(which mysqld) ]; then
|
|||
MSG=$(service_info "3306" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF MYSQLD
|
||||
### FI MYSQLD
|
||||
|
||||
### IF SLAPD
|
||||
if [ $(which slapd) ]; then
|
||||
|
@ -99,7 +99,7 @@ if [ $(which slapd) ]; then
|
|||
MSG=$(service_info "389 636" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF SLAPD
|
||||
### FI SLAPD
|
||||
|
||||
### IF ZFS
|
||||
if [ $(which zfs) ]; then
|
||||
|
@ -133,7 +133,7 @@ if [ $(which puppetmaster) ]; then
|
|||
MSG=$(service_info "8140" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF SLAPD
|
||||
### IF PUPPETMASTER
|
||||
|
||||
### IF NFS Server
|
||||
if [ $(which nfsd) ]; then
|
||||
|
@ -141,7 +141,7 @@ if [ $(which nfsd) ]; then
|
|||
MSG=$(service_info "111 2049" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF SLAPD
|
||||
### FI NFS Server
|
||||
|
||||
### IF TFTPD
|
||||
if [ $(which in.tftpd) ]; then
|
||||
|
@ -173,21 +173,21 @@ if [ $(which sshd) ]; then
|
|||
MSG=$(service_info "22" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### FI SSH
|
||||
### FI SSHD
|
||||
|
||||
### IF DHCPD
|
||||
if [ $(which dhcpd) ]; then
|
||||
MSG=$(process_info "dhcpd" '')
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF DHCPD
|
||||
### FI DHCPD
|
||||
|
||||
### IF FAIL2BAN
|
||||
if [ $(which fail2ban-server) ]; then
|
||||
MSG=$(process_info "fail2ban" '')
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF FAIL2BAN
|
||||
### FI FAIL2BAN
|
||||
|
||||
### IF ETHERPAD
|
||||
if [ $(which etherpad) ]; then
|
||||
|
@ -195,7 +195,7 @@ if [ $(which etherpad) ]; then
|
|||
MSG=$(service_info "9001" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF ETHERPAD
|
||||
### FI ETHERPAD
|
||||
|
||||
### IF ETHERCALC
|
||||
if [ $(which ethercalc) ]; then
|
||||
|
@ -203,7 +203,7 @@ if [ $(which ethercalc) ]; then
|
|||
MSG=$(service_info "8000" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF ETHERCALC
|
||||
### FI ETHERCALC
|
||||
|
||||
### IF GITLAB
|
||||
if [ $(which gitlab-ctl) ]; then
|
||||
|
@ -213,7 +213,7 @@ if [ $(which gitlab-ctl) ]; then
|
|||
MSG=$(process_info "gitlab" '')
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF GITLAB
|
||||
### FI GITLAB
|
||||
|
||||
### IF XYMONSERVER
|
||||
if [ $(which xymond) ]; then
|
||||
|
@ -221,14 +221,14 @@ if [ $(which xymond) ]; then
|
|||
MSG=$(service_info "1984" "${MSG}")
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF XYMONSERVER
|
||||
### FI XYMONSERVER
|
||||
|
||||
### IF XYMONCLIENT
|
||||
if [ $(which xymon) ]; then
|
||||
MSG=$(process_info "xymonlaunch" '')
|
||||
printf '%b' "\n${MSG}"
|
||||
fi
|
||||
### IF XYMONCLIENT
|
||||
### FI XYMONCLIENT
|
||||
|
||||
|
||||
## Service need a warning if running
|
||||
|
|
Loading…
Reference in New Issue