#!/command/execlineb -P
fdmove -c 2 1
s6-envdir /etc/env-network
importas -uSi ETH0_IP6_BIS
emptyenv -p
s6-envuidgid irc
export CADIR /etc/ssl/ca/hashed
fdmove 1 3
s6-tcpserver -v -1 -U -c 255 -- ${ETH0_IP6_BIS} 1000
s6-tcpserver-access -DHl0 --
s6-tcpclient -v -l0 -- irc.oftc.net. 6697
s6-tlsc-io -k irc.oftc.net -- 6 7
