Correction du script zabbix pour que les mots de passe soient personnel
This commit is contained in:
parent
ea7b3c2203
commit
4e0f1593ae
@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
USER=$1
|
||||
PASS=$2
|
||||
body=$3
|
||||
|
||||
|
||||
USER=`echo ${1} | awk '{ print $1 }'`
|
||||
PASS=`echo ${1} | awk '{ print $2 }'`
|
||||
body=${2}
|
||||
|
||||
cat <<EOF | freesms -u ${USER} -p ${PASS} -
|
||||
${body}
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user