fake_silkaj.sh 305 Bytes
Newer Older
zicmama's avatar
zicmama committed
1 2 3 4 5 6
#!/bin/bash
# Handle commands
case "$1" in
	amount)
		echo 1000
		;;
7 8 9
	id)
		echo "→ DsEx1pS33vzYZg4MroyBV9hCw98j1gtHEhwiZ5tK7ech ↔ Fred"
		;;
zicmama's avatar
zicmama committed
10 11 12 13 14 15 16 17 18 19 20 21 22
	transaction)
		echo "OK"
		;;
	generate_auth_file)
		echo "CLEF_PUBLIQUE_$3"
		;;
	*)
		echo "KO"
		;;
esac


echo "RUN ./silkaj/silkaj $*" >> /tmp/g1sms.log