Change EPS for Telegraf

This commit is contained in:
Mike Reeves
2021-04-19 13:29:46 -04:00
parent 54322f5e9d
commit 0c0edbaac8
13 changed files with 25 additions and 26 deletions

View File

@@ -15,9 +15,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
THEGREP=$(ps -ef | grep $0 | grep -v grep)
THEGREP=$(ps -ef | grep $0 | grep -v $$ | grep -v grep)
if [ ! $THEGREP ]; then
if [ ! "$THEGREP" ]; then
FILES=$(ls -1x /host/nsm/faf/complete/ | wc -l)