Skip to content
On this page

output.sh Script

This section explains how the output.sh script works.

output.sh is a script that is run after the generation of all files has been completed. It outputs client URLs and prints QR codes of those URLs.

Used by

List of the files and commands this file is used by:

Depends on

List of the files this file depends on:

File Content

The file has the following content:

bash
#!/usr/bin/env bash

echo "belfi is ready to go!"
echo ""
echo ""
echo ""
echo "HYSTERIA2-----------HYSTERIA2"
qrencode -t UTF8 $(cat ./proxy/hysteria2/client)
echo $(cat ./proxy/hysteria2/client)
echo ""
echo ""
echo ""
echo "TUIC---------------------TUIC"
qrencode -t UTF8 $(cat ./proxy/tuic/client)
echo $(cat ./proxy/tuic/client)
echo ""
echo ""
echo ""
echo "SHADOWSOCKS-------SHADOWSOCKS"
qrencode -t UTF8 $(cat ./proxy/shadowsocks/client)
echo $(cat ./proxy/shadowsocks/client)
echo ""
echo ""
echo ""
echo "TROJAN-----------------TROJAN"
qrencode -t UTF8 $(cat ./proxy/trojan/client)
echo $(cat ./proxy/trojan/client)
echo ""
echo ""
echo ""
echo "JUICITY---------------JUICITY"
qrencode -t UTF8 $(cat ./proxy/juicity/client)
echo $(cat ./proxy/juicity/client)
echo ""
echo ""
echo ""
echo "Server setup has been completed, configuration URIs are provided above"

This website is released under the GPL-3 License.