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
|
#!/bin/bash
|
||||||
|
|
||||||
USER=$1
|
USER=`echo ${1} | awk '{ print $1 }'`
|
||||||
PASS=$2
|
PASS=`echo ${1} | awk '{ print $2 }'`
|
||||||
body=$3
|
body=${2}
|
||||||
|
|
||||||
cat <<EOF | freesms -u ${USER} -p ${PASS} -
|
cat <<EOF | freesms -u ${USER} -p ${PASS} -
|
||||||
${body}
|
${body}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user