1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/wi-auth/bin/card_activation.sh
2015-01-23 17:24:36 +01:00

11 lines
256 B
Bash
Executable File

#/bin/bash
# card_activation.sh
set -x
(
CALLER_ID=`echo -n $1 | perl -e "use URI::Escape; print uri_escape(join('',<>));"`
exec /home/unirel/userver/bin/send_req_to_portal.sh gen_activation "gen_activation?caller_id=$CALLER_ID"
)>& /tmp/attivation.err