#!/bin/sh
[ -n "$IPKG_INSTROOT" ] && exit 0
cat <<'BANNER'

  MeduzaVPN is installed. Nothing is running, no route has moved and no
  account is signed in. Three steps remain:

    1. Sign in. On a router there is no browser, so this prints a code to
       enter on meduzavpn.com from a phone:

         meduzavpn login --qr

    2. Choose a VPN and turn the service on:

         uci set meduzavpn.general.enabled=1
         uci commit meduzavpn
         /etc/init.d/meduzavpn enable
         /etc/init.d/meduzavpn start

    3. Watch it choose a protocol:

         meduzavpn status
         logread -e meduzavpn

  With protocol 'auto' (the default) the router tries ULTRA, AmneziaWG,
  Hysteria, VLESS, WireGuard and OpenVPN in that order. Each candidate is
  proved in a routing table of its own before the default route is handed
  over, so a protocol this provider blocks costs a few seconds and does not
  take the house offline.

BANNER
exit 0
