Small bash-based library for a captive portal