#!/bin/sh
# R-VPN Lite for routers: the nightly update (cron, see rvpn-setup). Off with: uci set rvpn.main.autoupdate=0.
[ "$(uci -q get rvpn.main.autoupdate)" = 0 ] && exit 0
exec /usr/lib/rvpn/rvpn-router update >/dev/null 2>&1
