#!/bin/execlineb -P
define INTERFACE wg-tunnel
s6-envdir -i /etc/s6/env/interface.${INTERFACE}.static.addr.4
importas -i ADDR ADDR
s6-envdir -i /etc/s6/env/path
emptyenv -p
ip -4 address del $ADDR dev $INTERFACE